EmicoEcommerce / Magento2Tweakwise-archived

Magento 2 module for Tweakwise integration
Other
9 stars 25 forks source link

Add 'Use default value' checkbox to category attributes #154

Closed jasperzeinstra closed 3 years ago

jasperzeinstra commented 3 years ago

The custom category attributes from tweakwise lack the checkbox "Use Default Value" when on a store view scope. Sadly Magento uses a hard coded list for this, see \Magento\Catalog\Model\Category\DataProvider::getFieldsMap. With this plugin we can add the Tweakwise attributes to the list and make the "Use Default Value" checkbox visible on store view scope.

stijnbernards commented 3 years ago

Hi @jasperzeinstra ,

Thanks for your contribution! @Hnto Could you test this feature on your local environment?

Cheers, Stijn.

Hnto commented 3 years ago

@stijnbernards Tested and works