| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to change Order Confirmation message? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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"
__________________
X cart 4.1.5 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Change this language variables:
txt_order_placed txt_order_placed_msg
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() And where do I find / edit the language variable "txt_order_placed"
I looked all over but couldn't find it... Thanks!
__________________
X-Cart Gold license 4.4.2 |
|||||||
#4
|
|||||||
|
|||||||
![]() Under 'Languages' in your admin.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#5
|
|||||||
|
|||||||
![]() Thank you so much!
__________________
X-Cart Gold license 4.4.2 |
|||||||
#6
|
|||||||
|
|||||||
![]() 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 |
|||||||
#7
|
|||||||||
|
|||||||||
![]() 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}
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#8
|
|||||||
|
|||||||
![]() 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.
__________________
x-cart 4.2.3 & 4.6.0 |
|||||||
#9
|
|||||||
|
|||||||
![]() 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 |
|||||||
#10
|
|||||||
|
|||||||
![]() 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 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|