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

This package is auto-updated.

Last update: 2024-04-24 18:27:51 UTC


README

  1. Composer install
composer require koempf/akeneo-attributes-to-variants-bundle
  1. 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='*'