JanetsCloset Posted February 10, 2015 Share Posted February 10, 2015 On my product list template, I would like to to display my thumbnails under my main photo to show other colors that a product comes in. I've created a image size called 'productlistthumb' and they're 70x70 which work perfect. Vekia gave me this code which worked with my 1.5.6.4 version of prestashop, but now that I updated to 1.6.0.11 it doesn't work. Can anyone help me? <span id="thumbs_list_frame"> {if isset($images[$product.id_product])} {foreach from=$images[$product.id_product] item=image name=thumbnails} {assign var=imageIds value="`$product.id_product`-`$image.id_image`"} <span id="thumbnail_{$image.id_image}" style="display:inline;"> <img id="thumb_{$image.id_image}" src="{$link->getImageLink($product.link_rewrite, $imageIds, 'productlistthumb')}" alt="{$image.legend|htmlspecialchars}" alt="" title="{$product->name|escape:'htmlall':'UTF-8'}" width="{$productlistthumbSize.width}" height="{$productlistthumbSize.height}" /> </span> {/foreach} {/if} </span> Link to comment Share on other sites More sharing options...
vekia Posted February 10, 2015 Share Posted February 10, 2015 where i gave it ? i think that there should be sometihng in background, some controller to handle variables Link to comment Share on other sites More sharing options...
JanetsCloset Posted February 10, 2015 Author Share Posted February 10, 2015 I can't find the topic that you gave it to me in anymore, I just tried looking for it. You said put that code in my product-list.tpl file and it worked! But now that I upgraded to 1.6.0.11 it doesn't work. Link to comment Share on other sites More sharing options...
JanetsCloset Posted February 11, 2015 Author Share Posted February 11, 2015 Does anyone know how to get this to work? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now