veravalonline Posted August 20, 2013 Share Posted August 20, 2013 I am looking for adding short description into invoice which comes in pdf and also into the order confrimation email, please help me with any of the above, specially the Vekia Thanks in advance , Link to comment Share on other sites More sharing options...
vekia Posted August 21, 2013 Share Posted August 21, 2013 hello by "short description" what you mean exactly? product's short description? or just own text not related to the products? Link to comment Share on other sites More sharing options...
torchs Posted October 16, 2013 Share Posted October 16, 2013 (edited) i mean product's short description into invoice pdf, i have added this code al line 133 of pdf\invoice.tpl: <td style="text-align: left; width: {if !$tax_excluded_display}35%{else}45%{/if}">Cod. {$order_detail.reference} - {$order_detail.product_name}</td> Cod. {$order_detail.reference} for add product reference instead if i would add in same field the short description of related product what can i do? sorry for my english i'm italian thank you very much Edited October 16, 2013 by torchs (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted October 17, 2013 Share Posted October 17, 2013 Try to override getProductsDetail() function in OrderInvoice class. You should join the product_lang table there to get description_short value. Then use description_short value in the invoice.tpl template. Link to comment Share on other sites More sharing options...
torchs Posted October 17, 2013 Share Posted October 17, 2013 I'm not a programming expert, could you explain in detail what should I do in the file classe\orderinvoice.php? thank you very much Link to comment Share on other sites More sharing options...
Recommended Posts