Tag: objectmanager
-
How to dump all options for any attribute in Magento 2 programmatically?
The following code does not adhere to Magento’s developer recommendations. Using object manager in such a way externally is a TERRIBLE idea. Comment out line number 2 and then run the script. Edit line 11 and put the attribute code you want to dump