Zen Cart Logo
Forums / General Questions / Incorrect Sub-total and Total amount during checkout_payment page

Incorrect Sub-total and Total amount during checkout_payment page

Views: 2,293

Results 1 to 5 of 5
8 Jan 2014, 11:00 PM
#1
zkullgraveace avatar

zkullgraveace

New Zenner

Join Date:
Jan 2014
Posts:
4
Plugin Contributions:
0

Incorrect Sub-total and Total amount during checkout_payment page

In the shopping_cart page, I did some testing and put items in and added quantities to have more than 1 QTY for each items. The unit, total and Sub-total price shows up and are all correct. But when I proceed to the checkout_payment page (Step 2 of 3 - Payment Information) where it shows the Billing Address, Payment Method, and "Your Total". Inside the "Your Total" section where it shows the Sub-total and total price. The value is incorrect. It shows the unit price from the previous shopping_cart page instead and not the supposedly Sub-total amount after the calculation. I'm suspecting the variable that is passing inside the php file isn't the correct one (using unit variable rather than the sub-total variable) I try looking into the checkout_payment.php file but didn't find anything there I need to change. Which file would it be to fix this little bug? Or is it in the Zen Cart Admin that I can fix this? Thanks in advance.

8 Jan 2014, 11:20 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Incorrect Sub-total and Total amount during checkout_payment page

Please provide a link to your site in this format: yoursiteDOTcom.

9 Jan 2014, 6:01 PM
#3
zkullgraveace avatar

zkullgraveace

New Zenner

Join Date:
Jan 2014
Posts:
4
Plugin Contributions:
0

Re: Incorrect Sub-total and Total amount during checkout_payment page

stevesh:

Please provide a link to your site in this format: yoursiteDOTcom.

Here's the website -> http://www.alilang.com/

Just register and start putting items into your cart and proceeds to the checkout. Thanks.

9 Jan 2014, 7:23 PM
#4
stevesh avatar

stevesh

Black Belt

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

Re: Incorrect Sub-total and Total amount during checkout_payment page

Very strange. What happens if you switch temporarily to the Classic template and try again ?

10 Jan 2014, 1:45 AM
#5
zkullgraveace avatar

zkullgraveace

New Zenner

Join Date:
Jan 2014
Posts:
4
Plugin Contributions:
0

Re: Incorrect Sub-total and Total amount during checkout_payment page

stevesh:

Very strange. What happens if you switch temporarily to the Classic template and try again ?

Same thing happens.