Use a custom product template that has the code that displays the marked through price removed. If you are using a ShopSite provided template you could copy the part of the product template that displays the price to your local template directory and then edit that template to remove the section. You would probably then need to rename that modified template back to the initial name so that it overrides the ShopSite provided file.
Many of the ShopSite templates use an include file for the price section so you may have to do the above on an include file instead of the main product template.
Below it the include file called Product-Price. Following that I have pulled out the section of code that you would need to change. (Note this may be different for other templates)
- Code: Select all
# NOTE: Quantity Pricing overrides other pricing options
# and is handled in the Product-AddToCartButton section
[-- VAR.SaleOn "no" --]
[-- IF PRODUCT.SaleOn--]
[-- IF PRODUCT.SaleAmount --]
[-- VAR.SaleOn "yes" --]
[-- Else --]
[-- VAR.SaleOn "no" --]
[-- END_IF --]
[-- END_IF --]
# if merchant wants price displayed
[-- IF PRODUCT.DisplayPrice --]
<br>
[-- IF PRODUCT.VariablePrice? --]
<b>[--STORE.Price --]:</b> [-- STORE.CurrencySymbol --]<input type=text name="[-- PRODUCT.RecordNumber --]:price" size="4" maxlength="10" value="">
[-- ELSE --]
[-- IF VAR.SaleOn "yes" --]
<strike>[-- PRODUCT.Price --]</strike>
[-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle Begin --][-- PRODUCT.SaleAmount --][-- PRODUCT.PriceStyle End --][-- PRODUCT.PriceSize End --]
[-- IF PRODUCT.AltPrice--]
<strike>[-- PRODUCT.AltPrice --]</strike>
[-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle Begin --][-- PRODUCT.AltSaleAmount --][-- PRODUCT.PriceStyle End --][-- PRODUCT.PriceSize End --]
[-- END_IF --]
[-- STORE.OnSaleText --]
[-- ELSE --]
# product is not on sale
[-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle Begin --][-- PRODUCT.Price --][-- PRODUCT.PriceStyle End --][-- PRODUCT.PriceSize End --]
[-- IF PRODUCT.AltPrice--]
[-- PRODUCT.AltPrice --]
[-- END_IF --]
[-- END_IF --]
[-- END_IF --]
[-- ELSE --]
# merchant does not want price displayed, but is there a sale price?
[-- IF PRODUCT.VariablePrice? --]
#don't display sale price
[-- ELSE_IF VAR.SaleOn "yes" --]
# display sale price, but not regular price
[-- IF VAR.MoreInfoPage "yes" --]
# do nothing
[-- ELSE --]
<br>
[-- END_IF --]
[-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle Begin --][-- PRODUCT.SaleAmount --][-- PRODUCT.PriceStyle End --][-- PRODUCT.PriceSize End --]
[-- IF PRODUCT.AltPrice--]
[-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle Begin --][-- PRODUCT.AltSaleAmount --][-- PRODUCT.PriceStyle End --][-- PRODUCT.PriceSize End --]
[-- END_IF --]
[-- STORE.OnSaleText --]
[-- END_IF --]
[-- END_IF --]
- Code: Select all
[-- IF VAR.SaleOn "yes" --]
[-- PRODUCT.Price --]
[-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle Begin --] ADD TO CART TO SEE YOUR PRICE [-- PRODUCT.PriceStyle End --][-- PRODUCT.PriceSize End --]
[-- IF PRODUCT.AltPrice--]
[-- PRODUCT.AltPrice --]
[-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle Begin --]ADD TO CART TO SEE YOUR PRICE [-- PRODUCT.PriceStyle End --][-- PRODUCT.PriceSize End --]
[-- END_IF --]
[-- STORE.OnSaleText --]
[-- ELSE --]