Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Someone Brilliant Please HELP me with cart contents showing


seebra

Recommended Posts

Posted

I have my store located at mysite.com/shop

 

Everything works great - except when I try to display a simple Your Cart (x items) on the header of my outside store pages, including my homepage. I have been at this for the last 10 hours. I cannot get it to work no matter what I try.

 

Does someone know how to do this - if it even can be done?

 

Please help me if you can.

 

Thanks!

Posted

I doubt your store is at mysite.com.

 

Any page that accesses cart info needs to have a current session. That means it needs to be a PHP page that at least brings in the session context and defines the cart class. The number of items in the cart is $cart->count_contents();.

Archived

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

×
×
  • Create New...