koempf / akeneo-attributes-to-variants-bundle
Simple command to add an attribute to all family variants
Package info
github.com/koempf24/akeneo-attributes-to-variants-bundle
pkg:composer/koempf/akeneo-attributes-to-variants-bundle
1.0.3
2022-01-24 13:13 UTC
Requires
This package is auto-updated.
Last update: 2026-03-24 22:32:34 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='*'