![]() |
if statement on order_invoice.tpl
On my invoice I want the langauge variable to be controlled by an if statement. If the order status IS NOT complete, I want the invoice to say "Order Confirmation", but if the order status IS complete I want it to say "Invoice".
Forgive my poor knowledge of PHP, but I guess the logic would be if orderstatus does not eqal complete {$lng.lbl_ordercofirmation|upper} else {$lng.lbl_invoice|upper} Any suggestions? |
Let me take a crack at this one, although I make no promises :)
How about: Code:
{if $order.status ne "C"} |
All times are GMT -8. The time now is 11:21 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.