Item count for osCommerce

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vvbuen
Forum Newbie
Posts: 2
Joined: Tue Jan 27, 2009 3:44 pm

Item count for osCommerce

Post by vvbuen »

Hello to all,

I have this site http://rodnikpublishing.com and on each page I have Cart banner at the to of the page with "0 items" at bottom. I just need help how to make a dynamic page that the item will count my customer's have on their cart.

Let say right now if you try to surf my site if you click "Add to Cart", it will redirect you to the osCommerce "What's on my cart" page to view added to cart item(s). So once I go back to any of my page outside osCommerce the "0 items" should say "1 items" or "2 items" if I have added items to my account.

How can I do this? I need the php code right? Is this code already in my osCommerce? How will I get it and how will I encapsulate to my html pages.

Any advise will appreciate very much. Thanks in advance.

Regards,

Vick
Post Reply