I am creating a custom category attribute. When I am changing the store view language, then Use Default Option not appearing.
When you create the category attribute, you need to add a global attribute as the scope store
$categorySetup->addAttribute(
\Magento\Catalog\Model\Product::ENTITY,
'is_emotion',
[
....
'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_STORE,
....
]
);
-
I mentioned same as you mentioned but not use its not working. – Praveen Chelumalla May 11 '18 at 9:56
-
-
-
This is the magento issue with the category attribute github.com/magento/magento2/issues/13440 I think it's not related to your create attribute script – thanhdv2811 May 11 '18 at 11:22
-