IchabOd Posted December 3, 2011 Share Posted December 3, 2011 Bonjour, Dans la fiche du retour produit -order-return.tpl-, je souhaiterais faire apparaitre l'image du produit plutôt que sa référence. Je suppose que cela se place ici : <tr class="{if $smarty.foreach.products.first}first_item{/if} {if $smarty.foreach.products.index % 2}alternate_item{else}item{/if}"> <td>{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</td> <td class="bold">{$product.product_name|escape:'htmlall':'UTF-8'}</td> <td><span class="order_qte_span editable">{$product.product_quantity|intval}</span></td> </tr> J'ai donc inséré ceci : <img src="{$link->getImageLink($product.product_id)}" width="30" height="30" /> <tr class="{if $smarty.foreach.products.first}first_item{/if} {if $smarty.foreach.products.index % 2}alternate_item{else}item{/if}"> <td><img src="{$link->getImageLink($product.product_id)}" width="30" height="30" /></td> <td class="bold">{$product.product_name|escape:'htmlall':'UTF-8'}</td> <td><span class="order_qte_span editable">{$product.product_quantity|intval}</span></td> </tr> Mais cela ne donne rien. Savez-vous ce qui ne va pas ? merci 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