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
|