Skip to main content
1 of 2
Sarvagya
  • 1.2k
  • 2
  • 22
  • 45

How to get option label and there value's label from params passed by product page?

I have created a new action which is called when the customer select the options on product page and submit the product form. I get this array when i print the params posted.enter image description here

Now how should i get the option labels so that i can save the information what customer have selected in the custom table i have created in the database.

As you can see there is just option ids and there values. I need to save some thing like option label and it's values as it goes to the cart in the default magento.

Sarvagya
  • 1.2k
  • 2
  • 22
  • 45