Results 1 to 10 of 17

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Posts
    10
    Plugin Contributions
    0

    Default Where are cart contents stored?

    Say I am browsing through the cart, keep on adding the products. At this stage where are the products stored?
    I dont see them in the zen_sessions tables
    Thanks
    Email: advanced DOT programmer AT gmail DOT com

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Where are cart contents stored?

    If logged in ... you will see them in the customers_basket

    If not logged in ... they are burried within the sessions table ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,762
    Plugin Contributions
    9

    Default Re: Where are cart contents stored?

    I believe that if you are logged in and creating an order that it is cached until you either checkout or logoff. If you log off without completing checkout the session is saved for your return.

    Edit: Ajeh to the rescue!!!
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Oct 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Where are cart contents stored?

    Thanks for the reply
    I am not logged in
    This is what I did

    1. I added few products in my shopping cart (Using Add selected products to cart button)
    2. I truncated the sessions table
    3. I click on Update Cart
    4. Now, if the current cart contents are being read from sessions table, I should nto get any products but to my suprise I do get products and I also got a row added to the sessions table. How did that happen? can anyone explain?
    Email: advanced DOT programmer AT gmail DOT com

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Where are cart contents stored?

    You are getting into the grey area of the cache ...

    Were you to add to cart and not be able to touch the update cart button when you truncated the session table then that would not happen ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Oct 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Where are cart contents stored?

    Thanks, you are right
    I understood now
    Where is the format of sessions defined?
    San
    Email: advanced DOT programmer AT gmail DOT com

  7. #7
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Where are cart contents stored?

    Perhaps if you told us exactly what you are wanting to do we could point you in the right direction.

 

 

Similar Threads

  1. Where are database quiries stored ?
    By Trademonkey in forum General Questions
    Replies: 1
    Last Post: 31 Dec 2010, 12:00 AM
  2. Where are the descriptions stored?
    By panzico in forum General Questions
    Replies: 6
    Last Post: 2 Oct 2008, 04:14 PM
  3. E-Z pages..where are they stored
    By karen in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Apr 2008, 08:21 PM
  4. Where are EZ Pages Stored
    By Petzlifedirect.com in forum General Questions
    Replies: 10
    Last Post: 19 Mar 2007, 05:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR