Item count from Add to Cart

Discussion in 'PHP' started by vickriz, Jan 27, 2009.

  1. #1
    Hello to all,

    I have this site
    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
     
    vickriz, Jan 27, 2009 IP