Jump to content

Product Image on Order History


Recommended Posts

[sorry for my English]

Good evening! Has the problem. I in the history of the orders you need to introduce the product photo next to the name. I used the following f-Yu in order-detail.tpl :

 <a class="cart-images" href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'cart_default')}" alt="{$product.name|escape:'html':'UTF-8'}" /></a>
 {$product.product_name|escape:'html':'UTF-8'}

But the photo of the product is not shown, but instead appears here is a picture :

fa7b6fa80ee1.png
Tell me, how can I fix this problem? Prestashop 1.6. Thx!

Edited by iLukas (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...