Is it possible to display an image based on price and / or product type?
So basically, if the price is more than £100 and / or the product type is 'x' then display an image...
I currently have...
I also have a varibale set up called 'producttype', but I can seem to combine the two with and / or.
Is this possible?
Thanks
So basically, if the price is more than £100 and / or the product type is 'x' then display an image...
I currently have...
Code:
<actinic:block php="true"> $actinicprice = <actinic:variable name="ProductPriceRaw" selectable="false" />; $freethreshold = 100; if ($actinicprice > $freethreshold ) { echo '<img src="image.gif" alt="image" />'; } </actinic:block>
Is this possible?
Thanks
Comment