Re: Smarty Vars
{$product.product|strpos:"Cheap"}
problem with using strpos though is you need to run another check if "Cheap" is at the 0 position, if its not there strpos will still evaluate it as 0
so you need to use something like substr to compare if its actually at the 0 position or not
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
|