kiboko/akeneo-product-values-management

Generate your product value class

dev-master 2017-05-31 01:16 UTC

This package is auto-updated.

Last update: 2024-04-24 03:41:58 UTC


README

This package is a composer plugin used to help you manage your Akeneo reference datas.

WARNING: This package is experimental, do not use it on production

Installation

Require the package in your installation :

composer require --dev "kiboko/akeneo-product-values-management=dev-master"

Additionally, you will have to define the following parameters to your composer.json:

    "config": {
        "akeneo-appbundle-root-dir": "src",
        "akeneo-appbundle-vendor-name": "Acme",
        "akeneo-appbundle-bundle-name": "AppBundle"
    }

Available packages & reference datas

Package Reference code Relation Type
kiboko/akeneo-reference-datas color.rgb.single ManyToOne Kiboko\Component\AkeneoProductValuesPackage\Model\ColorRGB
kiboko/akeneo-reference-datas color.rgb.multiple ManyToMany Kiboko\Component\AkeneoProductValuesPackage\Model\ColorRGB

For now, the only package available is kiboko/akeneo-reference-datas

Usage

Initialize your AppBundle

Run the following command to build your bundle:

composer akeneo:init

List the available reference datas

Run the following command to list the available reference datas.

composer akeneo:reference-data:list

Add a ManyToOne relation with a ColorRGB in your ProductValue

Run the following command to install the color reference data as a many to one (single select):

composer akeneo:reference-data:add color.rgb.many-to-one

Add a ManyToMany relation with a ColorRGB in your ProductValue

Run the following command to install the color reference data as a many to one (multiple select):

composer akeneo:reference-data:add color.rgb.many-to-many