ultraxa Posted September 4, 2012 Share Posted September 4, 2012 bonjour je souhaiterais afficher les photos des articles mis dans un pack voici mon code pour afficher le pack {foreach from=$packItems item=packItem} <div class="pack_content"> <p>{$packItem.description_short}</p> {$packItem.pack_quantity} x <a href="{$link->getProductLink($packItem.id_product, $packItem.link_rewrite, $packItem.category)}">{$packItem.name|escape:'htmlall':'UTF-8'}</a> <img id="thumb_{$image.id_image}" src="{$link->getImageLink($packItem->link_rewrite, $imageIds, 'medium')}" alt="{$image.legend|htmlspecialchars}" height="50" width="50" /> </div> {/foreach} mais le code <img id="thumb_{$image.id_image}" src="{$link->getImageLink($packItem->link_rewrite, $imageIds, 'medium')}" alt="{$image.legend|htmlspecialchars}" height="50" width="50" /> affiche la photo du produit et non pas le produit associés comment faire 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