I have created a custom category attribute using the custom code from here, attribute created successfully and able to save the value.

But I want to save store specific value in this custom attribute, So can save different value for English store view and Arabic store view.

I also try another way to create the custom category attribute, but no one saves store specific value.

I also found this issue on GitHub and try the given solution but not one is work for me.


By default magento store the category attributes with the store id. So each category attributes can be save store wise.

In case of custom attributes, may some problem with the creation of attribute. You can go with below article which has a good knowledge base to create the category attribute.


Just make sure you mentioned the below piece of code in proper places:

'global'       => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_STORE,


<item name="scopeLabel" xsi:type="string">[STORE VIEW]</item>

Also compare your new created attribute with existing one for below tables:

catalog_category_entity_int ( or text or varchar depends on your attribute type)



Please check "is_global" property in the database table catalog_eav_attribute for your custom attribute and make sure it is having value as 0. Then after your custom attribute one checkbox will appear "Use Default Value" in the admin. Unchecking that checkbox will help you to save attribute value store view level.

  • That is already set to 0 in catalog_eav_attribute table for my custom attribute, but still no luck. – Purushotam Sharma Jun 17 '19 at 5:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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