On some of our products I am using an attribute with two choices ('sample' or 'item'). I use a push button grid to display both. I use images instead of buttons and I want a different image for each choice. I am trying to modify the 'Add to Cart Button' layout code (by use of conditional blocks) so that -
if it is this type of product (strpos(<actinic:variable name="ProductName" />, "Fabric" - which works)
the buttons should either have the 'sample' or 'item' image applied (e.g. <actinic:variable name="ChoiceName" /> == "Sample" - which doesn't work)
Does anyone have any suggestions?
if it is this type of product (strpos(<actinic:variable name="ProductName" />, "Fabric" - which works)
the buttons should either have the 'sample' or 'item' image applied (e.g. <actinic:variable name="ChoiceName" /> == "Sample" - which doesn't work)
Does anyone have any suggestions?
Comment