I have noticed that Open Cart keeps the cart contents even after shutting down my PC. The cart contents aren't cleared unless the buyer checks out
My question is, when do the cookie cart contents expire (apart from checking out) ?
Nah, I just tested on IE7
Added items to cart > shutdown
Came back in, logged in and the items are still in my cart.
Nevermind. I'll think of another way to sort out my latest can of worms.
I'll checkout your one step checkout today and post feedback there
Thanks again
Added items to cart > shutdown
Came back in, logged in and the items are still in my cart.
Nevermind. I'll think of another way to sort out my latest can of worms.
I'll checkout your one step checkout today and post feedback there
Thanks again
Cookies last 1 hour
To clear the cart properly, there are actually a few things to update:
To clear the cart properly, there are actually a few things to update:
Code: Select all
// Clears the cart itself
$cart->clear;
// Clear the cart session variable
$this->session->delete('cart');
// Clear the customer's db cart
$this->database->query("update customer set cart = '' where customer_id = '" . (int)$this->data['customer_id'];
Last edited by Qphoria on Thu Nov 27, 2008 8:16 pm, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 19 guests