Manage your Akeneo reference data
This package is a composer plugin used to help you manage your Akeneo reference datas., (*1)
WARNING: This package is experimental, do not use it on production, (*2)
Installation
Require the package in your installation :, (*3)
composer require --dev "kiboko/akeneo-product-values-management=dev-master"
Additionally, you will have to define the following parameters to your composer.json
:, (*4)
"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
, (*5)
Usage
Initialize your AppBundle
Run the following command to build your bundle:, (*6)
composer akeneo:init
List the available reference datas
Run the following command to list the available reference datas., (*7)
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):, (*8)
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):, (*9)
composer akeneo:reference-data:add color.rgb.many-to-many