| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Language if statement | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Language if statement
I'm working on a bi-lingual site (English/French) and need an if statement to display images based on which language is selected. I tried this but nothing shows up.
{if $shop_language eq EN} Do Something {elseif $shop_language eq FR} Something Else {else} Something Else {/if} Version 4.1.11 Has anyone done this? TIA!
__________________
~ Andrea Beight |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Language if statement
Resolved - needed quotes around "FR" and "EN"
__________________
~ Andrea Beight |
|||||||||
|
|||
X-Cart forums © 2001-2020
|