Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Code for Shopping Cart total???


Recommended Posts

such feature is built-in osc and popularized by Linda (ajeh) by packaging it in one of her contributions

here's the break down:


# of items:

<?php echo $cart->count_contents(); ?>


$ total:

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


weight total: (usually in lbs)

<?php echo $cart->show_weight(); ?>


have fun osc'ing!

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...