I am usuing a cutome template on clean install of 1.3.6. None of my specials or sale prices shown strikethrough. ANy idea which file is responsible for this and how / where should go to fix this?
I am usuing a cutome template on clean install of 1.3.6. None of my specials or sale prices shown strikethrough. ANy idea which file is responsible for this and how / where should go to fix this?
It should be in your stylesheet.
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !
I am using a template which I have NOT created. My question is which files should I modify and what are the parameters/Variable?
![]()
Use the CSS and add:
.normalprice, .productSpecialPriceSale {
text-decoration: line-through;
}
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Whether you created the template or not is irrelevant. The actual file you want, assuming the template has been correctly compiled using the Zen Cart override system, is includes/templates/YOUR_TEMPLATE/css/stylesheet.css
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !
Hello,
I am also having this same issue, or something quite similar, but I am somewhat new to CSS and am having a hard time with it. I am also using a template and was getting no strikethrough on any of the old prices. I followed the instructions above and it worked just fine for the product detail page and the featured products sidebox, but it did not work on the product listing page. see this page for an example http://knifeandswordoutlet.com/shop/...ain_page=index
The listing page uses the following CSS to display the price:
.price_text { color:#CA0C13; font-size:14px; line-height:16px; font-weight:bold;}
If I add the strikethrough property it adds a strikethrough on both the old price and the special price.
Obviously I just want the old price to have a strikethrough, but I am not sure if I just need to fix the CSS or if I need to change one of the template files.
I am sure this is rediculously easy for some of you folks with bigger brains than mine... can one of you possible help point me in the right direction?
Thanks!