| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Different invoices for check/mo and credit card payments | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I would like to have separate invoices for online payments and check/money order payments.
The second would show a text on the top saying "Please print this invoice and mail it along with your payment to...". I don't want the same text on credit card orders, so I need two different invoices. I tried to modify the template: /skin1/customer/main/order_message.tpl and put an "if" around this line: Code:
Can anyon please tell me how to do this? I've been searching the Forums for about 2 weeks now but no luck so far, I guess if I want to open my store before Christmas I'd better ask... Thanks!
__________________
xcart gold 4.1.11 Dedicated server Intel i5-2400 CPU, 8GB RAM CentOS 5, Plesk Panel v10.4 mods: MAP Pricing, Advanced Speedbar, Tabbed Product Menu, Multiple Manufacturers, Customer Reviews Search, Edit & Delete, Pre-login Shipping Estimate, FREEOVERX. X-AOM |
|||||||
#2
|
|||||||
|
|||||||
![]() dont know if this will work, but maybe you could play around with it (im sure there is a way to just pass the paymentid to smarty from cart.php but that requires a little more thought)...
in order_message.tpl under the section loop, put Code:
|
|||||||
#3
|
|||||||
|
|||||||
![]() Quote:
I replaced the "nq" in the above with "ne" ("nq" turned my location bar into bread crumbs). The payment method variable simply doesn't get to the order_message.tpl It's strange, because it works in order_invoice.tpl which is on the same page below the message, and it's called from the order message template. I finally gave up on order_message.tpl, and modified the order_invoice.tpl instead, it works fine with this: Code:
The invoice page needed some editing anyway, and now my problem is solved. It's been bugging me for a long time. I'm still wondering why it could not be done in order_message.tpl.....
__________________
xcart gold 4.1.11 Dedicated server Intel i5-2400 CPU, 8GB RAM CentOS 5, Plesk Panel v10.4 mods: MAP Pricing, Advanced Speedbar, Tabbed Product Menu, Multiple Manufacturers, Customer Reviews Search, Edit & Delete, Pre-login Shipping Estimate, FREEOVERX. X-AOM |
|||||||
#4
|
|||||||
|
|||||||
![]() Quote:
Can you help me how to do this? |
|||||||
|
|||
X-Cart forums © 2001-2020
|