seebra Posted January 14, 2006 Posted January 14, 2006 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!
stevel Posted January 15, 2006 Posted January 15, 2006 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();. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
Recommended Posts
Archived
This topic is now archived and is closed to further replies.