koempf/akeneo-attributes-to-variants-bundle

向所有家族变体添加属性的简单命令

1.0.3 2022-01-24 13:13 UTC

This package is auto-updated.

Last update: 2024-08-24 19:11:00 UTC


README

  1. Composer安装
composer require koempf/akeneo-attributes-to-variants-bundle
  1. 将bundle添加到config/bundles.php
<?php

return [
    \Koempf\AttributeToVariantsBundle\KoempfAttributeToVariantsBundle::class => ['dev' => true, 'test' => true, 'prod' => true],
];

用法

示例

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='*'