Anyone know how to do a Smarty IF for the PHP equivalent of “strstr” - If string contains (some literal)?
Once again … after searching FOREVER I find the answer within seconds of posting.
{if $product.product|strstr:“Base”}
Anyone know how to do a Smarty IF for the PHP equivalent of “strstr” - If string contains (some literal)?
Once again … after searching FOREVER I find the answer within seconds of posting.
{if $product.product|strstr:“Base”}