Jump to content

[SOLVED] Add product url inside the invoice pdf


Jolsvi

Recommended Posts

Hi @ndiaga 

This is from the file  invoice.product-tab.tpl and I try this:

<table width="100%">
  <tr>
      <td width="15%">
           {if isset($order_detail.image) && $order_detail.image->id}
                 {$order_detail.image_tag}
           {/if}
      </td>
      <td width="5%">&nbsp;</td>
      <td width="80%">         
         <a href="'.$this->context->link->getProductLink($product['id_product']).'">{$order_detail.product_name}</a>
      </td>
  </tr>
</table>

But when I open the pdf file, product is not linked to product page

Link to comment
Share on other sites

  • Jolsvi changed the title to [SOLVED] Add product url inside the invoice pdf

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...