Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Missing Price After Adding Special Discount

Missing Price After Adding Special Discount

Locked

Views: 3,511

Results 1 to 20 of 20
This thread is locked. New replies are disabled.
26 Aug 2007, 4:45 PM
#1
redpostbox avatar

redpostbox

New Zenner

Join Date:
Aug 2007
Posts:
26
Plugin Contributions:
0

Missing Price After Adding Special Discount

Hi, when I add special discount price on my products, the original price (which is usually shown crossed out in black) is missing on the listing page as well as the product detail page, and only the discounted price as well as the dicount amount is shown. Can you tell me how to show the crossed out original price as well please? https://www.nuno-plus.com

Thank you and hope to hear from you soon.

26 Aug 2007, 4:50 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing Price After Adding Special Discount

I don't know much about CSS and such but your stylesheet is showing:

.normalprice, .productSpecialPriceSale {
		color:#BC7E2E;
		visibility:hidden;
		font-size:11px;

Perhaps that hidden is messing with your prices? :unsure:

26 Aug 2007, 5:28 PM
#3
redpostbox avatar

redpostbox

New Zenner

Join Date:
Aug 2007
Posts:
26
Plugin Contributions:
0

Re: Missing Price After Adding Special Discount

Hi Ajeh,

thank you for your reply. I am using dreamweaver to edit my files, can you let me know which file should I be correcting for that error?

should I change visibility hidden to 'normal'?

Thanks again

26 Aug 2007, 5:35 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing Price After Adding Special Discount

Look in your /css directory of your template to see what your settings are ...

I really cannot help you much beyond that ...

26 Aug 2007, 8:06 PM
#5
redpostbox avatar

redpostbox

New Zenner

Join Date:
Aug 2007
Posts:
26
Plugin Contributions:
0

Re: Missing Price After Adding Special Discount

Thank for your help anyways....

Can anyone shed some light into this issue? I am guessing it is just something I didnt not turn on from some other links perhaps. but all the prices option has been turned on for product listing, product info, etc

It only happens to those that I have added a discount, which is really strange

Any help would be appreciated. Thanks

26 Aug 2007, 11:24 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing Price After Adding Special Discount

Let's try again ...

Look in your stylesheet for your template:
/includes/templates/delta-833/css/stylesheet.css

Now look for that hidden ...

Is that suppose to be there? Or are you hidding stuff from display with it?

27 Aug 2007, 3:34 AM
#7
redpostbox avatar

redpostbox

New Zenner

Join Date:
Aug 2007
Posts:
26
Plugin Contributions:
0

Re: Missing Price After Adding Special Discount

Hi Ajeh, I bought my template from TemplateMonster, so I dont really know if some thing should be there or not. As for the visibility thing, the original price appears when i deleted the hidden code, but unfortunately the original price isnt crossed. I needed the price to be crossed to show that I am selling at a discounted price.

My knowledge of coding is very basic, so there are a lot of terms that I do not understand. I have asked TM for assistance but it takes them a very long time for an answer, so I was hoping someone here could give me some guidance as to which file I should edit. Can you let me know which file crosses the original price to make way for the discounted price? Maybe that is where I should start.

Thanks again.

27 Aug 2007, 5:16 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing Price After Adding Special Discount

very carefully edit the file:
/includes/templates/delta-833/css/stylesheet.css

Find the line that reads:
visibility:hidden;

temporarily remove that line ...

Reload the file to the same location on your server ...

Hit the F5 to refresh the screen ...

Do the missing prices magically show up again?

27 Aug 2007, 6:09 AM
#9
redpostbox avatar

redpostbox

New Zenner

Join Date:
Aug 2007
Posts:
26
Plugin Contributions:
0

Re: Missing Price After Adding Special Discount

Hi Ajeh,

Thank you for your reply. Yes the price appears after i deleted that line, BUT, the price isnt crossed/ slashed to show that I have discounted the original price. Hope you under. How do I enable this 'cross/slash' on original price when a discount is applied?

Thanks again

Eric

27 Aug 2007, 8:35 AM
#10
redpostbox avatar

redpostbox

New Zenner

Join Date:
Aug 2007
Posts:
26
Plugin Contributions:
0

Re: Missing Price After Adding Special Discount

Hi Ajeh,

I made a comparison between this template I have and the classic template. I found out that the 'crossed / slashed' price is actually a font in the classic template. My TM template does not seem to have it. Can you teach me what codes to write to add a font to stylesheet? thanks in advance

27 Aug 2007, 10:02 AM
#11
redpostbox avatar

redpostbox

New Zenner

Join Date:
Aug 2007
Posts:
26
Plugin Contributions:
0

Re: Missing Price After Adding Special Discount

Finally found the solution for the missing 'slashed price' after adding discount for any Template Monster use. I must agree that TM has diverted a lot of default zen cart settings to achieve what they feel is 'only needed' for certain customers. This problem I have is one of the most elusive compare to many other problems I have with the template. But having said that, I am able to learn much more about php and coding after editting their defected templates. Here is the code you need to replace in your TM template stylesheet.css:

.normalprice, .productSpecialPriceSale {
color: rgb(230, 38, 0);
font-size:11px;
text-decoration: line-through;

Color can be different, but the slashed price is the 'line-through'

Hope this helps as I have read a few other people with similar problem, but with no solution. :blush:

Special thanks to Ajeh for pointing me in the right file. :clap:

27 Aug 2007, 1:32 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing Price After Adding Special Discount

Thanks for the update and glad you were able to fix the missing prices caused by the template you were using ... :smile:

22 Oct 2007, 1:46 AM
#13
somebody avatar

somebody

New Zenner

Join Date:
Sep 2007
Posts:
22
Plugin Contributions:
0

Re: Missing Price After Adding Special Discount

Hi

I have the same problem as the above with the line-through as you can see here i tried what you wrote but it doesn't seem to work

Any suggestions?

Thanks

24 Oct 2007, 1:40 AM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing Price After Adding Special Discount

View Source ...

The Price and Special and Sale etc. each have their own classes ...

4 Nov 2007, 3:35 AM
#15
somebody avatar

somebody

New Zenner

Join Date:
Sep 2007
Posts:
22
Plugin Contributions:
0

Re: Missing Price After Adding Special Discount

Hi

Sorry it took so long for me to reply

I am not sure if i understand what do you mean by viewing source, do you mean copy of the style sheet?

If you click here you will see the main page and the special prices there dont have the cross line over the regular price

Please advice
Thanks in advance

4 Nov 2007, 3:39 AM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing Price After Adding Special Discount

A view source shows:

<div class="dc price_block_c1 price_text" ><span class="ee">$76.81 </span> <span class="productSpecialPrice">$65.76</span><span /></span></div>

Now look at your stylesheet ...

4 Nov 2007, 3:44 AM
#17
somebody avatar

somebody

New Zenner

Join Date:
Sep 2007
Posts:
22
Plugin Contributions:
0

Re: Missing Price After Adding Special Discount

that was fast

what should be in the style sheet/

4 Nov 2007, 3:53 AM
#18
somebody avatar

somebody

New Zenner

Join Date:
Sep 2007
Posts:
22
Plugin Contributions:
0

Re: Missing Price After Adding Special Discount

Ajeh

my style sheet

.normalprice, .productSpecialPriceSale {

    }

.normalprice{ text-decoration:line-through; font-size:17px;}

.productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount {
font-size:17px;
text-transform:uppercase
}

please advice

thanks

4 Nov 2007, 4:32 AM
#19
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing Price After Adding Special Discount

Well ... I am not much up on stylesheets, being the humble coder that I am ... :unsure:

But looking at the view source it appears to want:

<div class="dc price_block_c1 price_text" ><span class="ee">$76.81 </span> <span class="productSpecialPrice">$65.76</span><span /></span></div>

none of which do you appear to have defined ... :eek:

Perhaps a nice designer could step in and 'splain this stuff better ... :smile:

4 Nov 2007, 5:19 AM
#20
somebody avatar

somebody

New Zenner

Join Date:
Sep 2007
Posts:
22
Plugin Contributions:
0

Re: Missing Price After Adding Special Discount

Thanks for trying