carrelmarillon Posted December 5, 2015 Share Posted December 5, 2015 Hello i would like to display product images in the order details i used this code to do so <td class="cart_product"> <label for="cb_{$product.id_order_detail|intval}">{if $product.product_reference} { <a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category, null, null, $product.id_shop, $product.id_product_attribute)|escape:'html':'UTF-8'}"> <img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small_default')|escape:'htmlall':'UTF-8'}" alt="{$product.name|escape:'htmlall':'UTF-8'}" /></a> } {else}--{/if}</label> </td> only a random images appear .. anyone can help me to do so im very new to prestashop . Thanks a lor 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