Posted on

Show Admin value of an attribute in Magento 2

In Magento 1.x I could show the Admin value of an Attribute like this:

_product->getAdminAttributeText(‘bleach’)

But it doesn’t work in Magento 2. How can I show the Admin value of a dropdown list in Magento 2?

Leave a Reply

Your email address will not be published. Required fields are marked *