Magento Forum

How to display product images according to their sorted color on list.phtml
 
priyaka1987
Jr. Member
 
Total Posts:  3
Joined:  2012-05-30
 

Hello
Please help on my following issue:
What we have is a configurable product and their associated products are distinguished according to their different color. eg a shoe has two different color say red and blue.
When the products are listed on list.phtml page their default image are getting displayed which we set from the backend of each product but every shoe has a different set of images for each red and blue color.
When we sort shoe according their color, the default image of shoe is displayed which is blue. Here the problem occurs, what is want is to display the shoe image respect to their color instead of their default image.
eg If we select the red color shoe their default color image of blue is displayed on the list.phtml page.

Please help me on I am having really tough time to solve this issue.

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