Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Total Price, Total Weight... nice Contri


Recommended Posts

Hi everybody,


Do you know any contribution that lets your Cart Content look like this? :oops:


:: Cart Content::

0 Items

Total: ?0.00

Weight: 0 kgs



If you look at this nice site http://www.mainframes.co.uk/mf/catalog/default.php, then you can see it....


Since it is a great contribution..... I wish to add it to my poor old shop... But I can't find this contribution...


Pleeeeeeease Help is needed :cry:

Link to comment
Share on other sites

This is the code that displays what you are after.


      <?php echo '[ ' . $cart->count_contents() . ($cart->count_contents() == "1" ? " Item" : " Items "); ?>


     <?php echo $currencies->format($cart->show_total()); ?>


     <?php echo $cart->show_weight() . ($cart->show_weight() == "1" ? " kg" : " kgs ")?>


hope this helps





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