當用戶單擊訂單詳細信息鏈接時,需要在訂單詳細信息頁面中顯示產品圖像。如何在prestashop中顯示訂單歷史記錄中的產品圖像
我已編輯下面的代碼,以便-detail.tpl但不顯示產品圖像,僅顯示一些虛擬圖像
<td>
<a href="{$link->getProductLink($product.product_id, $product.link_rewrite, $product.category, null, null, $product.id_shop, $product.id_product_attribute)|escape:'htmlall':'UTF-8'}">
<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small_default')}" alt="{$product.name|escape:'htmlall':'UTF-8'}" {if isset($smallSize)}width="{$smallSize.width}" height="{$smallSize.height}" {/if} /></a>
</td>
謝謝:@arifur rahman – Kennedy