0

I am creating a custom category attribute. When I am changing the store view language, then Use Default Option not appearing.

enter image description here

0

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,
        ....
    ]
);
5

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.