russcoleridge Posted July 10, 2013 Share Posted July 10, 2013 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 Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 10, 2013 Share Posted July 10, 2013 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. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 10, 2013 Share Posted July 10, 2013 Please read this conversation: http://www.cubecartforums.org/index.php?showtopic=16965 Quote Link to comment Share on other sites More sharing options...
russcoleridge Posted July 11, 2013 Author Share Posted July 11, 2013 Read and implemented. Exactly what I was after. Again - you've been a great help - many thanks! Russell Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.