0

My issue is simple :

  • We have a bunch of product attributes with wrong scopes

They are defined as Global and we want their scope should be Website.

How to handle this programmatically?

For example with the product attribute price

I know how to create an attribute with the scope that I want. But I don't know if and how to update an existing scope attribute.

Any ideas?

1 Answer 1

1

Please refer to these articles. They might help you-

Programatically update a single attribute in Store View Scope

How to update the attribute scope programmatically in Magento 2

Thanks, Rashi

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.