| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Define / display unique message depending on payment method | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Define / display unique message depending on payment method
I want to display a unique message in "order_message.tpl" (at the top of the order invoice) that will be determined by the payment method that the person chose during checkout.
Specifically, if the customer chooses "Fax Ordering" during checkout, I want to display a message on the invoice that instructs the person to print out the invoice, complete the section with their preferred payment information (credit card info), and to fax the form to our fax number. If the customer chooses some other type of payment method (like "Phone order" or "Purchase order"), then the cart should show a different message and instructions unique to that payment method. I know how to set up variales in "Languages", but I don't know how to call them depending on the checkout method that was used, or if it's necessary to define them in one of the PHP files. Thanks in advance for any help! |
|||||||
#2
|
|||||||||
|
|||||||||
{if $order.payment_method eq "Fax Ordering"}
message {else} message {/if} you can call the message if you define them at admin, for instance lbl_fax_order_message then, it should be, {$lng.lbl_fax_order_message}
__________________
Dongan MercuryMinds Technologies Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com Follow us at Facebook / Twitter |
|||||||||
|
|||
X-Cart forums © 2001-2020
|