0.00 price question

Views: 757

Results 1 to 5 of 5
10 Mar 2010, 11:40 AM
#1
eeprete avatar

eeprete

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

0.00 price question

I have a product in my store that has a price of 0.00. However it displays nothing on the page. How can I get it to display 0.00 ?

Thanks.

11 Mar 2010, 10:20 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: 0.00 price question

Why not mark it as "Product Is Free", so that the "FREE" icon shows up on the page?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

11 Mar 2010, 11:02 AM
#3
eeprete avatar

eeprete

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

Re: 0.00 price question

the client is requesting the price show up as 0.00

11 Mar 2010, 11:11 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: 0.00 price question

I think you'll have to make custom coding changes to do that. I can't think of any admin switches to flip that would do that for you.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

11 Mar 2010, 2:12 PM
#5
eeprete avatar

eeprete

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

Re: 0.00 price question

Thanks, I found where I had to do it. In functions_prices.php, LINE 262, I modified the php and commented out the hiding of the 0.00 price

if ($display_normal_price == 0) {
      // don't show the $0.00
      // $final_display_price = $show_special_price . $show_sale_price . $show_sale_discount;
	  $final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
    } else {
      $final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
    }