Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Items in cart contribution?


Guest

Recommended Posts

Posted

I can't find this, but is there a "Items in Cart" contribution that rather than showing the entire shopping cart, it shows just the # of items in the cart? Similar to http://www.bird-e-toys.com/shop/.

 

Thanks.

 

Mark

Posted

This will put contents and price in the status bar. should be pretty easy to figure out how to customize to make it its own box in the header:

 

<script language="JavaScript" type="text/javascript">

<!--

window.status="<?php echo '[In Your Cart: '.$cart->count_contents(); ?> Items  <?php echo 

$currencies->format($cart->show_total()); ?> ]"

// -->

</script>

Archived

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

×
×
  • Create New...