![]() |
xcart_invoice for 3.4.14 version
Someone has modified xcart_invoice for 3.4.14 version?
Many Thanks. Josц╘ Williman |
Josц╘,
I am running 3.4.14 and I didn't have to modify anything to get it running. You should be fine. Jeremy |
I made a few customizations to this after I noticed that this custom order invoice does not display discounts and/or coupon code (gift certificate) discounts. In /skin1/orders/invoice.tpl, I added:
Code:
{if $order.discount gt 0} Put that immediately before: Code:
<tr> That will only show the discount or gift certificate if one exists. It tested fine for me. Jeremy |
Many thanks jeremye.
All the best. Josц╘ ---------------------------- X-Cart 3.4.14 LIVE |
Quote:
I'm assuming if i keep the files as is, the store will display TEXT invoices, and if i add the new files and rename them to file_email...the emailed invoice would be html based.?? just doing the opposite of what you posted above. |
I set HTML mail option On.
I created "order_data_email.tpl" and "order_invoice_email.tpl" put htem in /mail/html I also edited order_notification.tpl to Call "order_invoice_email.tpl" but when i get the order, its still using the Text based order_data. What am i missing??????? |
Man... I just read this entire soap opera... I mean thread. How in the world did I miss this one! [-X
Great mods guys I appreciate the hard work ! 8) |
With a couple of very small tweaks (primarily to fit my vertical logo), this little hack works quite well.
Except ... When someone makes a purchase and the invoice is presented on the page, the invoice breaks the page (way too wide) and it all looks horrendous. Ideally, I would like to present the invoice after purchase exactly the way it was in the default install, but to email and print the invoice with the custom hack. The hack is installed, I just want the Order Processed page to go back to the original format. Any pointers where to look? |
This hack is great except I think I've buggered it up a bit :roll: . I downloaded the 3.5.4 version of this hack, but before uploading the modified order_invoice.tpl and the order_data.tpl, I followed preston's fix for sending plain text email using copies of the existing templates (as I want to keep that). The Order invoice now comes out fine on screen as I would expect, yet I'm still getting html formatted email. HTML email is turned off FYI!
All I did was: Quote:
..before uploading the two replacement 3.5.4 invoice mod files. Any ideas where I might have botched up? Thanks Dan |
OK, I hadn't given the email templates a .tpl extension :roll: . It works now apart from the "Order Receipt" email is in html...I'll have to look further into this.....
Dan |
All times are GMT -8. The time now is 09:18 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.