Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Sub-Total Not Calculating


Recommended Posts

Sub-Total is not calculating on the checkout_confirmation.php page.


The item(s) in the shopping cart are listed, along with their individual prices, however, the subtotal remains $0.00. The shipping cost calculates, and from there, the Total only includes the cost from the shipping, as the items subtotal is $0.00. This total of only the shipping cost is passed onto paypal for payment.


Shipping method is USPS flat rate module, Payment method is Paypal module, however, the problem still exists even if these modules are changed.


On the shopping_cart.php page, and the shopping cart box, the Sub-Total calculates. For a reason I cannot figure out, the sub-total is lost/not calculating when it comes to the checkout_confirmation.php page.


I have installed the Purchase Without Account contribution, but after restoring the confirmation page, the Sub-Total still does not calculate, so i suspect this contribution is not the problem. Also, whether I am checking out with or without an account, the same problem occurs with the sub-total. I have previously installed a contribution that allows a product to be shown as "sold out" instead of listing a price. I unfortunately did not document this contribution.


I would really appreciate any help. Let me know if there is a segment of code I should post for review. Thank you!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...