Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help.. Shopping car modifications


Guest

Recommended Posts

I will not be using the boxes on the site I am currently working on.. I am looking to put the shopping cart information in the header.

 

The only info i would need is # of items in shopping cart and Total.

 

I found this site in the community of live shop areas. It has something similar to what I want. http://www.nabi-nara.com

 

Has anyone done this before, and could offer a helping hand..

 

Thanks

 

Ryan

Link to comment
Share on other sites

Everything you are looking for should be in this peice of code:

      <td class="main" align="right" height="30" valign="middle">

       <FONT COLOR="bbc3d3" FACE="Arial" SIZE="1"><?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" ? " lb" : " lbs ")?> ]</FONT></td>

     </td>

Link to comment
Share on other sites

  • 1 month later...

Thank you for your posting. This saved me a great deal of trial and error I'm sure.

osC details

osCommerce 2.2-MS2

PHP Version: 4.3.8 (Zend: 1.3.0)

Apache Release 10331100

MySQL 4.0.27-standard

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...