![]() |
How to change Order Confirmation message?
I need to customize this message that appears above final Invoice upon submission . which file to edit .
"Confirmation http://www.stock-supplies.com/kina/skin1/images/spacer.gif Congratulations! Your order has been successfully placed. Thank you for using our store. An order notification has been sent to your e-mail address. Your order will be processed according to the delivery details" |
Re: How to change Order Confirmation message?
Change this language variables:
txt_order_placed txt_order_placed_msg |
Re: How to change Order Confirmation message?
And where do I find / edit the language variable "txt_order_placed"
I looked all over but couldn't find it... Thanks! |
Re: How to change Order Confirmation message?
Under 'Languages' in your admin.
|
Re: How to change Order Confirmation message?
Thank you so much!
|
Re: How to change Order Confirmation message?
On a related note, is there a way to display confirmation message that is dependent on the customer's method of payment?
For example, my customers can pay electronically, or by cheque, or they can call in after placing the order. I want one message for successful electronic payment (Thank you for your order, yada yada yada), and another message for cheque payment (What you need to do now), and another for payment by phone (Please call us with your payment details). My guess is that the information I need (payment method), which is displayed in the 'receipt', isn't available early enough in the page loading sequence to make it useful. Does anyone know different? Many thanks Welly |
Re: How to change Order Confirmation message?
The info is available there
/skin/common_files/customer/main/order_message.tpl You have to do something like {foreach from=$orders item=order} {if $order.paymentid eq "xxx"} show message1 {elseif $order.paymentid eq "yyy"} show message2 {else} show message3 {/if} {/foreach} |
Re: How to change Order Confirmation message?
Hey Welly,
I wrote something up on this that I've been using here: http://forum.x-cart.com/showpost.php?p=261470&postcount=6 Cheers, Regs. |
Re: How to change Order Confirmation message?
I'm not sure if it's a version thing (4.4.2), but I struggled to get that to work. I think the variable in question is payment_method, but the 'foreach' part didn't generate anything useful.
It did point me in the right direction though, and I eventually settled on this: {if $orders[0].order.payment_method eq "Cheque"} {$lng.txt_order_placed_msg_Cheque} {elseif $orders[0].order.payment_method eq "RBS WorldPay"} {$lng.txt_order_placed_msg_WorldPay} {elseif $orders[0].order.payment_method eq "Contact us"} {$lng.txt_order_placed_msg_Contact_Us} {elseif $orders[0].order.payment_method eq "Gift Certificate"} {$lng.txt_order_placed_msg_Gift_Certificate} {else} Your order may not have been processed correctly. Please accept our apologies and contact us with your order number. {/if} The '$lng.txt_order_placed_msg_Cheque' and others I created with the appropriate instructional message. The last bit was laziness on my part - I should (and probably will) replace that with a consistent language entry too. Thanks for the pointer Steve. It got me looking in the right place. Welly |
Re: How to change Order Confirmation message?
Hi Regs,
I sure wish I'd seen your reply earlier! A bit more complicated than I thought I was looking for, but I can see exactly what is going on. Now I've seen it, I may actually modify mine along the same lines in future... Many thanks Welly |
Re: How to change Order Confirmation message?
No problem, glad it helped!
Cheers, Regs. |
All times are GMT -8. The time now is 05:00 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.