I need to add the additional product image when I list my products on the page. (http://www.gondolatr…m/app/products/) so I want to list both the default and additional image for each product.
I have figured out how to modify the product_list.tpl but my problem is that I do not know what smarty code I need to use for the additional image. I know I need to change
images=$product.main_pair
but I do not know what to replace $product.main_pair with. Does anybody know what the variable for the additional product images are?
The page I am modifying is skins/basic/customer/blocks/list_templates/products_list.tpl and I have copied and pasted the code that displays the main photo:
{if !$hide_links}
{/if}
{include file="common_templates/image.tpl" image_width=$settings.Thumbnails.product_lists_thumbnail_width oobj_id="`$preview_id`_`$image_id`" images=$image_pair_var object_type="product" show_thumbnail="Y" image_height=$settings.Thumbnails.product_lists_thumbnail_height}
{if !$hide_links}
{/if}
{assign var="rating" value="rating_$obj_id"}
{$smarty.capture.$rating}
I just need to know how to change the code over so that it displays the additional photo or at least the first additional photo.
Thanks