| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Using {if} {else} statement to display correct text | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hi Guys
Were having a sale on and i have included a "was" and "now" price The was price is pulled from an extra field and if no price has been entered into this field then i want it to display a piece of code that will automatically display a was price. I have tried the following code but i can't get it to work. Has anyone any ideas. Code:
Regards John. Xcart Version 4x
__________________
https://www.bedstar.co.uk |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Would it not be easier to do this with the List price function instead of creating extra fields?
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Exactly, just change the damn text to reflect the WAS and IS NOW
lol
__________________
vs 4.1.12 |
|||||||
|
|||
X-Cart forums © 2001-2020
|