Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Clear cart if user has left the site? #3

Open
n9yty opened this issue Nov 21, 2018 · 0 comments
Open

Clear cart if user has left the site? #3

n9yty opened this issue Nov 21, 2018 · 0 comments

Comments

@n9yty
Copy link

n9yty commented Nov 21, 2018

This is a great start, and as long as they stay on the site it probably will work very well. But part of our use case is to not allow an item to be 'held' from stock while it sits in their cart, and thus wanting to force it out if they haven't checked out. It isn't so much psychological or pressure as it is simply trying to be sure that all of the limited quantity can be sold and not held up in abandoned carts.

First, we only wanted to do this with certain items. I was able to modify the cart_added_action to look for items in a particular cateogry, and this seemed to work well.

I have tried and not yet found a good way to purge carts that have been abandoned.

If there are any hints on a good way to crawl through outstanding carts looking for items in a category, looking at age, and expiring them, it would be great. :)

I'm not sure if it would be in scope to implement in this plugin, as it may be considered outside the planned functionality. So feel free to close as "won't implement."

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant