koempf / akeneo-attributes-to-variants-bundle
Simple command to add an attribute to all family variants
1.0.3
2022-01-24 13:13 UTC
Requires
This package is auto-updated.
Last update: 2024-10-24 19:27:56 UTC
README
- Composer install
composer require koempf/akeneo-attributes-to-variants-bundle
- Add bundle to config/bundles.php
<?php return [ \Koempf\AttributeToVariantsBundle\KoempfAttributeToVariantsBundle::class => ['dev' => true, 'test' => true, 'prod' => true], ];
Usage
Example:
php bin/console koempf:attribute-to-variants:add --attribute=attribute_code --families=family_code1,family_code2,family_code3
php bin/console koempf:attribute-to-variants:add --attribute=attribute_code --families='*'