Jump to content

Resolved - Adding product thumbnails to invoices printed from admin sc


Recommended Posts

Hi,

 

We want to add a product image thumbnail to our printed invoices, as this will make picking orders quicker and more reliable.

 

I know I need to add an <img> reference to line 41 of admin/skins/default/templates/orders.print.php, with the relevant SMARTY variable, but can't figure out what the variable name should be.

 

I've found thumbnail URLs referenced with '$product.thumbnail' in other templates, but don't know how to tie the '$item' and '.thumbnail' bits together to make this work in order.print.php.

 

Many thanks,

 

Russell

Link to comment
Share on other sites

The image keys are not provided to Smarty for this template. There will need to be an edit to the code in orders.index.php to fetch and include that key.

 

I recall reading a conversation that solved this. Search here and www.cubecartforums.org. I'll try to find it later.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...