quardas Posted January 2, 2015 Share Posted January 2, 2015 How to clean up the guest's shopping cart after the browser close (after closing all tabs of the browser). I want to always have empty shopping cart when I'm visiting the store web-page by first time. Do you have any ideas or working solutions? Link to comment Share on other sites More sharing options...
shacker Posted January 9, 2015 Share Posted January 9, 2015 better make a cron job to execute a sql query to delete guests carts once a day. for example: SELECT * FROM `'._DB_PREFIX_.'cart` WHERE `id_customer` = 0 but you need to use a delete sentence Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now