Forums / General Questions / where is shopping cart items stored in DB?

where is shopping cart items stored in DB?

Views: 991

Results 1 to 3 of 3
19 Jan 2011, 11:10 PM
#1
nonoobsnofun avatar

nonoobsnofun

New Zenner

Join Date:
Jan 2011
Posts:
7
Plugin Contributions:
0

where is shopping cart items stored in DB?

I am wondering where is the information of items added in shopping cart for current customer stored in DB? So that I can write some php code to retrieve the infomation for some purpose.

Many thanks

19 Jan 2011, 11:25 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: where is shopping cart items stored in DB?

Look at the customer basket table. Though that's only populated once the customer has logged in. Otherwise the data is held in the session not the database.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

20 Jan 2011, 1:22 AM
#3
nonoobsnofun avatar

nonoobsnofun

New Zenner

Join Date:
Jan 2011
Posts:
7
Plugin Contributions:
0

Re: where is shopping cart items stored in DB?

Thank you for your quick response.

Very helpful!