Forums / Setting Up Categories, Products, Attributes / Sales and discounts strikethrough

Sales and discounts strikethrough

Locked

Views: 2,059

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
9 Mar 2007, 3:13 AM
#1
jedward avatar

jedward

New Zenner

Join Date:
Feb 2007
Posts:
24
Plugin Contributions:
0

Sales and discounts strikethrough

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?

9 Mar 2007, 11:23 PM
#2
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Sales and discounts strikethrough

It should be in your stylesheet.

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

10 Mar 2007, 5:09 AM
#3
jedward avatar

jedward

New Zenner

Join Date:
Feb 2007
Posts:
24
Plugin Contributions:
0

Re: Sales and discounts strikethrough

I am using a template which I have NOT created. My question is which files should I modify and what are the parameters/Variable?
:sleepy:

10 Mar 2007, 6:59 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Sales and discounts strikethrough

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.

10 Mar 2007, 8:29 AM
#5
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Sales and discounts strikethrough

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 !

6 May 2007, 7:54 PM
#6
yongkoom avatar

yongkoom

New Zenner

Join Date:
May 2007
Location:
California
Posts:
30
Plugin Contributions:
0

Re: Sales and discounts strikethrough

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/index.php?main_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!