Loving OpenCart's Admin and shopping cart, it looks like I will need to totally redesign the checkout page as our customers will simply need to a quick checkout, but I would like to save the order as usual. I do not need a lot of other features. I also do not need to worry about zoning, shipping, or payment, anything like that.
I would just like the customer to check out and get a conformation order.
What I would like to know is where exactly the items are saved when someone adds a product to their shopping cart? Is it a database table, a cookie, a session?
Please help.
I would just like the customer to check out and get a conformation order.
What I would like to know is where exactly the items are saved when someone adds a product to their shopping cart? Is it a database table, a cookie, a session?
Please help.
It saves it to a session. If you are a logged in customer it also saves it to the db.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Thanks, Simon, but I looked at the cart column in the customer table and what I see is this for the data:
a:3:{i:76;i:10;s:47:"83:YToxOntpOjI1MDthOjE6e2k6MDtzOjM6IjExMiI7fX0=";i:10;i:73;i:10;}
How can I decipher that to see all the cart details? Is there some PHP function or do I need to explode some array?
a:3:{i:76;i:10;s:47:"83:YToxOntpOjI1MDthOjE6e2k6MDtzOjM6IjExMiI7fX0=";i:10;i:73;i:10;}
How can I decipher that to see all the cart details? Is there some PHP function or do I need to explode some array?
You have to use php's unserialize() functionhotwebideas wrote:Thanks, Simon, but I looked at the cart column in the customer table and what I see is this for the data:
a:3:{i:76;i:10;s:47:"83:YToxOntpOjI1MDthOjE6e2k6MDtzOjM6IjExMiI7fX0=";i:10;i:73;i:10;}
How can I decipher that to see all the cart details? Is there some PHP function or do I need to explode some array?
Thanks Q!Qphoria wrote:You have to use php's unserialize() functionhotwebideas wrote:Thanks, Simon, but I looked at the cart column in the customer table and what I see is this for the data:
a:3:{i:76;i:10;s:47:"83:YToxOntpOjI1MDthOjE6e2k6MDtzOjM6IjExMiI7fX0=";i:10;i:73;i:10;}
How can I decipher that to see all the cart details? Is there some PHP function or do I need to explode some array?
Sorry for the english,
opencart use session to add in shopping cart but in customer table I found cart column inside it the data about shopping cart
I want to insert data direct to this column and read data from this column how i do this?
I know about serialize and base64 to insert data but I can't insert data in this column in same format??
opencart use session to add in shopping cart but in customer table I found cart column inside it the data about shopping cart
I want to insert data direct to this column and read data from this column how i do this?
I know about serialize and base64 to insert data but I can't insert data in this column in same format??
Who is online
Users browsing this forum: Baidu [Spider] and 10 guests