Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

subtotal and total not showing


Guest

Recommended Posts

MY cart is not displaying totals or subtotals. :sigh:

It displays the text

 

Sub-Total:

Total:

but no amounts.

 

I have heavily modded my site, but I have also spent hours comparing files to the originals and cannot find anything.

 

I imagine that these figures are calculating in

/classes/shopping_cart.php

like this:

    function show_total() {
     $this->calculate();

     return $this->total;
   }

but I have no idea why these would not be working.

The products have prices in the database.

in the orders_totals table the orders even have correct totals.

table- customers_basket_id field- final_price is empty, however. Is it supposed to

be?

 

any suggestions? :bleary eyed:

:-j.

Link to comment
Share on other sites

  • 2 years later...

Join the conversation

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

Guest
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...