Jump to content

Display An Image In To Order Details


Recommended Posts

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

post-752054-0-22387800-1449327557_thumb.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...