Zen Cart Logo
Forums / General Questions / shopping cart header displays incorrect dollar amount

shopping cart header displays incorrect dollar amount

Views: 1,025

Results 1 to 6 of 6
6 Jun 2012, 4:08 PM
#1
looseshengji avatar

looseshengji

New Zenner

Join Date:
Jun 2012
Posts:
5
Plugin Contributions:
0

shopping cart header displays incorrect dollar amount

I am newbie of Zen Cart, only started tinkering with it about a week ago. It is great for the most part, with one small problem: the shopping cart in the header displays incorrect total amount. And for the life of me, I cannot get it to display the correct amount.

The type of product I will be selling on the website is highly customizable, therefore the price is completely based on the product's attributes. The base price is set to zero. The dollar amount of the color attribute near the bottom of the product display page is a percentage-added onto the previously chosen attribute amounts. The problem occurs when that option is selected. When it is picked, the total price updates everywhere except in the shopping cart in the header for some reason.

Also, when the shipping method is selected, the shipping amount is shown and added to the total. However, not in the header again.

Any help, advice, suggestion is much appreciated. Thanks in advance.

The website, currently undergoing testing, is at: business-forms.print4less.com

6 Jun 2012, 6:07 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: shopping cart header displays incorrect dollar amount

I'm guessing, but since a stock Zencart doesn't have shopping cart info in the header, that's something you or your template designer has added. How exactly did you set up the color attribute to add a percentage to the total ? Obviously, that percentage is not being sent to the header cart info.

8 Jun 2012, 3:52 PM
#4
looseshengji avatar

looseshengji

New Zenner

Join Date:
Jun 2012
Posts:
5
Plugin Contributions:
0

Re: shopping cart header displays incorrect dollar amount

Is there any advice on how to disable the price display of the shopping cart in the header? If it can't show the correct amount, the amount shouldn't appear at all. Any suggestion is much appreciated!

8 Jun 2012, 5:16 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: shopping cart header displays incorrect dollar amount

You would have to remove the code from includes/templates/all_business/common/tpl_header.php. It's part of a list item under navMain.

11 Jun 2012, 1:31 PM
#6
looseshengji avatar

looseshengji

New Zenner

Join Date:
Jun 2012
Posts:
5
Plugin Contributions:
0

Re: shopping cart header displays incorrect dollar amount

Thank you so much Steve, problem solved :)