Page 1 of 1
Search found 20 matches
Re: Where is Cart data/items stored?
Check out the post right above yours.oyuka wrote:I am new to opencart and I want to know in which table the cart items are stored wen an user is not logged in and before the checkout?

- Thu Sep 19, 2013 12:47 am
- Replies 12
- Views 5525
Re: Integrating openCart with a custom website
Here's what I did which seemed to work well. 1. Copy the default template at /catalog/view/theme/default and rename it. 2. Edit the header.tpl and footer.tpl files in the newly copied theme at /catalog/view/theme/[renamed folder]/template/common to basically "wrap" your html around the OC ...
Jump to post- Tue Aug 02, 2011 2:01 am
- Replies 3
- Views 3825
Re: Where is Cart data/items stored?
In the "customer" table there is a field named "cart". Jump to postarmadillocreative wrote:i'm obviously blind but what table stores the cart info?
- Thu Apr 21, 2011 10:14 pm
- Replies 12
- Views 5525
Re: Remove product in one click without Confirm?
Thanks, that will be useful.
Jump to post- Sat Mar 19, 2011 1:11 am
- Replies 1
- Views 1175
Re: Remove All Items from Cart with a Button
Thanks Buildanewcomputer. Until this thread I hadn't even noticed the little remove buttons to the left of every item. I'm sure I can use that to somehow make a one click remove all button at the bottom of that module. Thanks for the tip.
Jump to post- Sat Mar 19, 2011 1:11 am
- Replies 6
- Views 2150
Re: Remove All Items from Cart with a Button
Yeah, I tried that but it doesn't seem to work with the latest release. Jump to postSXGuy wrote:check this thread http://forum.opencart.com/viewtopic.php?f=23&t=9899
- Thu Mar 17, 2011 10:07 pm
- Replies 6
- Views 2150
Re: Remove All Items from Cart with a Button
Thanks Buildanewcomputer, I'll start there. If you wouldn't mind, could you share the code you used to do that?
Jump to post- Thu Mar 17, 2011 1:32 pm
- Replies 6
- Views 2150
Remove All Items from Cart with a Button
Hi, I'm working on a project that requires a quick way of removing all items from the cart. Ideally, with a click of a button in the cart module. The placing of the button and all that is simple but what actually needs to be done to remove the contents of the cart? I've tried putting in a serialized...
Jump to post- Thu Mar 17, 2011 5:03 am
- Replies 6
- Views 2150
Re: [MOD] Empty Cart button
Anyone have this working on the latest release? I can't seem to get it working on 1.4.9.3.
Jump to post- Thu Mar 17, 2011 4:59 am
- Replies 19
- Views 12198
Re: Where is Cart data/items stored?
Xsecrets, thanks for the clarification. Now I know how I need to proceed.
Jump to post- Fri Mar 11, 2011 7:03 am
- Replies 12
- Views 5525
Re: Where is Cart data/items stored?
php has a function called "serialize" It basically takes an array and combines it into 1 line... kinda like a zip file Similarly, you can unzip or "unserialize" that But still even when unserialized it probably won't make much sense to you. It is basically the product id, the op...
Jump to post- Fri Mar 11, 2011 6:32 am
- Replies 12
- Views 5525
Re: Where is Cart data/items stored?
OK, I see where it's stored in the db - duh. Can someone decode the syntax of how the data is stored in the field? Here are a couple examples of cart records: a:1:{i:69;i:20;} a:3:{i:49;i:100;i:55;i:10;i:59;i:10;} the a I have no idea. The 1 and 3 at the beginning looks to be the number of cart item...
Jump to post- Fri Mar 11, 2011 5:32 am
- Replies 12
- Views 5525
Where is Cart data/items stored?
Initially, from reading other threads, I thought that items, qty cart data was being saved in a cookie. Is this correct or is it being stored in the database somewhere? Just today I logged into a computer that I hadn't used before and logged in and there were already items in my cart - items that I ...
Jump to post- Thu Mar 10, 2011 4:52 am
- Replies 12
- Views 5525
Re: Breadcrumb issue, who can help me?
Old thread but, were you able to get the breadcrumbs displayed when going straight to a product/item from the main page? The only way I see breadcrumbs working is when you actually select category, cub-category, item. Not when selecting an item straight from the featured, cart, etc.
Jump to post- Tue Mar 08, 2011 6:30 am
- Replies 1
- Views 543
Re: opencart username
I was able to get that info using some of the code from this page to get the customer_id and then querying the db with that: http://forum.opencart.com/viewtopic.php ... 37#p136637
Jump to post- Thu Mar 03, 2011 5:45 am
- Replies 2
- Views 1154
Re: help: Opencart user session into wordpress
Thanks for posting that code. It's gotten me started handling OC user sessions on external pages. Looking forward to seeing how you mod this. Is it possible to retrieve quantity, totals, etc. from the cart? I'm looking to use this somehow to quick print a cart and also send a quick email of the cart...
Jump to post- Fri Feb 18, 2011 6:40 am
- Replies 36
- Views 55328
Re: Display OC name on external page?
$this->customer->getFirstName(); $this->customer->getLastName(); $this->customer->getEmail(); Thanks. If I run that on a page outside of OC (say on a plan 'ol php page located at the root of the OC install) do you happen to know what includes are needed to use that class and functions?
Jump to post- Fri Feb 18, 2011 5:31 am
- Replies 5
- Views 838
Re: Display OC name on external page?
Thanks for the suggestion. When setting the cookie, what variable do I use for the OC userid? In PHP, how do I call the userid, username, etc. of who's logged in? That user session handling info is what I'm after.
Jump to post- Fri Feb 18, 2011 5:19 am
- Replies 5
- Views 838
Re: opencart username
I'd like to know this as well. booyakan, were you able to get this working? If so, I'd love to see the code.
Jump to post- Thu Feb 17, 2011 3:40 am
- Replies 2
- Views 1154
Display OC name on external page?
Hi, I'm new to OC only having used it for about a week now. I have a situation where I need to access user account session data on an external/non-OC page. I've done this in the past with other db apps such as phpbb and the like but I can't seem to find out how to do it with OC. Can anyone point me ...
Jump to post- Thu Feb 17, 2011 3:24 am
- Replies 5
- Views 838
Search found 20 matches