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