1

Using Magento 2.2, Configuration Product - Attribute. I need to add more select option for Configuration Product example Multiple Select.

enter image description here

1
  • You cannot change the existing attribute's "Catalog Input Type for Store Owner". If you try to create new then you will get all options. Commented Jul 11, 2018 at 12:05

1 Answer 1

1

Try the following code in your custom module.

Vendor/Magento/etc/di.xml

<type name="Magento\ConfigurableProduct\Observer\HideUnsupportedAttributeTypes">
    <arguments>
        <argument name="supportedTypes" xsi:type="array">
            <item name="multiselect" xsi:type="string">multiselect</item>
        </argument>
    </arguments>
</type>

clear the magento cache. it will show multiple select option in admin.

Note: Magento2 unsupported some input types for configurable products.

enter image description here

2
  • Enable success, but cannot use that new attribute for create new product. Commented Jul 13, 2018 at 1:48
  • for Configuration Product Commented Jul 13, 2018 at 3:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.