| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
if statement on order_invoice.tpl | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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?
__________________
X-Cart 4.4.0 PHP 5.2.5 |
|||||||
#2
|
|||||||
|
|||||||
![]() Let me take a crack at this one, although I make no promises
![]() How about: Code:
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|