Magento 2 – get option label from drop down

You may also like...

5 Responses

  1. Petter Granberg says:

    Hi,
    Great article!

    Is it possible in backend (edit product) to show both admin value and store view value in attribute dropdowns?
    Or just default store attribute value. The admin attribute value is used as data for exchange with external system.

    Like this question:
    http://magento.stackexchange.com/questions/165243/attribute-values-names-in-admin-side-as-store-view-values-magento2

  2. Gilles says:

    I’m also wondering about the same question as Petter Granberg.

  3. Kristof says:

    Hi!
    I’m new to Magento and it is not clear where should I add this code to get text value from the dropdown.
    Could you please help me?

Leave a Reply