I am a newbie in Magento and i got something very tricky on product page. I have to hide the drop-down option from here and show all the attributes values in a single line like
[Size : Small Medium Large]
[Color : Red Green Pink]
but the color will only show after selecting the size like in default Magento drop-down. I am able to get all the attribute according to the product id but how can i get the color attribute according to the size attribute for a particular product, and then pass that values to the cart page after clicking on the add to cart button.
I have really stuck in this task can someone help me please..