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:
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:
So my question is, how can I display the given prices on my dropdown attribute as a list? Please help!