Open in app

Sign In

Write

Sign In

Kevin DeBernardi
Kevin DeBernardi

7 Followers

Home

About

Nov 19, 2016

Get an Attribute (Multi)Select’s Option ID in Magento 2

As a result of the EAV data structure in Magento, the options of a select or multiselect attribute are stored and retrieved by id. This poses a challenge when getting the attribute in that calling getAttName() or getData('att_name')on an object (product, customer, etc.) will return the id instead of the…

Magento

2 min read

Magento

2 min read

Kevin DeBernardi

Kevin DeBernardi

7 Followers

Evolving editorial and interactive

Following
  • David Gilbertson

    David Gilbertson

  • Addy Osmani

    Addy Osmani

  • Medium

    Medium

  • GitLab

    GitLab

  • Freek Van der Herten

    Freek Van der Herten

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech