I have a an an attribute with the input type "Dropdown"Dropdown
named "Example Attribute""Example Attribute
" and two Store Views.
This attribute has a few options, but only the "Admin"Admin
values are set:
How can I programmically modify the values for each Store View? For example let's say I'd like to add the name of the Store View to each value:
I have found some very complicated answers which basically propose to completely overwrite all the values, but none did exactly what I need. I have tried various snippets of code that I found but none have worked for me. I've also looked through Magento's core classes but I was unable to find anything related to my problem.