| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Dollar Sign in Smarty | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hi all,
How can I compare a string containing dollar sign in smarty? This: {if $variable eq "From $79 to $89"} does not work. I tried back ticks: {if $variable eq "From `$`79 to `$`89"} and also back slashes, but that does not work either. The string never matches... Any idea? Thanks.
__________________
Version 4.0.10 |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
what is it your trying to do ?
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. |
|||||||||
|
#3
|
|||||||
|
|||||||
|
I'm trying to place some headers in left categories menu on www.mr-roses.com/home.php
I edited the /skin1/customer/categories.tpl file like this: Code:
It works fine as you can see, except that "Shop by Price" label. Thanks.
__________________
Version 4.0.10 |
|||||||
|
#4
|
|||||||||
|
|||||||||
|
just use the variable $cat instead and match it with the category id number
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. |
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||