Magento Forum

Display the prices on custom dropdown attribute in a list
 
angelia13
Jr. Member
 
Total Posts:  12
Joined:  2013-06-05
 

I have added a custom dropdown attribute in magento for configurable products. Now I want to display the contents of the dropdown as a text list in my compare page. So if my dropdown has values like:

Small $50
Medium $100
Large $200

Then I want to display Small $50, etc on my compare window. I can do this by getting the price of the simple products related to the configurable product. If I changed the price of the configurable product so the other prices in the dropdown would automatically change. The problem is, if it’s the price of the configurable product that changed, not the price of the simple products so the price list would be inaccurate and end up looking like so:

(dropdown attribute)
Small $25
Medium $80
Large $150

(price list)
Small $50
Medium $100
Large $200

So my question is, how can I display the given prices on my dropdown attribute as a list? Please help!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top