woocommerce-cart-stock-reducer icon indicating copy to clipboard operation
woocommerce-cart-stock-reducer copied to clipboard

Expire items with cron

Open jamesgol opened this issue 4 years ago • 0 comments

Rather than waiting for WooCommerce to remove sessions or the user to visit the page again, handle the expirations with cron.

The original reason for not removing from the cart automatically was to provide notices to the user when an item was removed, it might be possible with recent changes to just add a notice to the session and remove the item.

Requested via WordPress forums: https://wordpress.org/support/topic/cart-expire-if-customer-closed-browser

jamesgol avatar Jun 24 '20 17:06 jamesgol