If I put any item in the store on sale, ALL products in the store have the regular price displayed with a strike through and the words "On Sale" appear. Only the product with the sale price has "Check here to display this product's on sale price" checked in the "Edit Product Layout" area.
Below is the code I'm using on the product template. What am I doing wrong?
Thanks
[-- PRODUCT.MoreInformationText --]</font>[-- VAR.SaleOn "no"
--] [-- IF PRODUCT.SaleOn--] [-- IF PRODUCT.SaleAmount --] [--
VAR.SaleOn "yes" --] [-- Else --] [-- VAR.SaleOn "no"
--] [-- END_IF --] [-- END_IF --] [-- IF PRODUCT.DisplayPrice
--] [-- IF VAR.SaleOn "yes" --]<strike>[-- PRODUCT.Price --]</strike> [-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle
Begin --][-- PRODUCT.SaleAmount --][-- PRODUCT.PriceStyle End
--][-- PRODUCT.PriceSize End --] [-- STORE.OnSaleText --] [--
ELSE --] [-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle
Begin --][-- PRODUCT.Price --][-- PRODUCT.PriceStyle End --][--
PRODUCT.PriceSize End --]
[-- END_IF --]
[-- END_IF --]