Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

removing line items from $cartbox


Recommended Posts

Hey guys,


I'm making a site using sts (works great!) and I have two quick questions.

1) I don't want to use the normal shopping cart box ($cartbox), as it messes up my header when you start adding items. I just want a simple "your cart has # items."

this code worked well on my old 2.2ms2:

now in your cart  <b><a class=ml1 href=<?=tep_href_link('shopping_cart.php')?>><?=$cart->count_contents()?> items</a></b>

but doesn't work for me on 2.2rc2..what should I change?


2) also does anyone know of if there's some sort of 'floating' shopping cart box that pops up (with items)...say if you move the mouse pointer over a designated part of the page?



Link to comment
Share on other sites


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

  • Create New...