View Single Post
  #9  
Old 01-21-2008, 02:07 AM
 
sk8conz sk8conz is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 31
 

Default Re: Display text depending on payment method used.

Quote:
Originally Posted by bedstar
{if $order.payment_method eq "Finance"}
{$lng.txt_finance_placed}
{else}
{$lng.txt_order_placed_msg}
{/if}

I have placed this into the order message.tpl.

Currently when i put an order through on Finance is still shows

lng.txt_order_placed_msg

Regards

JOhn
Currently


If I place {$order.payment_method} at the top of order message.tpl nothing prints.

So there is no value assigned to $order.payment method. You need to look what tpl files are included starting from the invoice heading. $order.payment_method has a value by then.

I use pretty much the same code in order_invoice.tpl to print different messages at the bottom of the invoice depending on payment type. It works there.
__________________
4.3.1
rounded white template
one page checkout
Reply With Quote