Title: Cart timeout
Last modified: May 4, 2020

---

# Cart timeout

 *  [reign1](https://wordpress.org/support/users/reign1/)
 * (@reign1)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/cart-timeout/)
 * Hi,
 * There are cases where people put items into the cart and proceeds to checkout
   but then for the unknown reasons doesn’t pay and just quits the web store. Problem
   is items from that cart are removed from the web store so I’d like order to be
   canceled after lets say 30 minutes if the payment is not completed and so all
   the items from the cart should be again available in the web store.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Joey – a11n](https://wordpress.org/support/users/jricketts4/)
 * (@jricketts4)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/cart-timeout/#post-12778942)
 * [@reign1](https://wordpress.org/support/users/reign1/) – inventory isn’t typically
   reduced on a product until an order has been created. If the order has been created,
   yet the customer doesn’t pay for the order, then the ‘Hold Stock’ setting will
   take affect.
 * You can find the ‘Hold Stock’ setting in: _WP Dashboard > WooCommerce > Settings
   > Products > Inventory_
    You’ll want to set this to `30` to ensure orders that
   are unpaid for 30 minutes will replace its taken stock.
 * – Joey
 *  Thread Starter [reign1](https://wordpress.org/support/users/reign1/)
 * (@reign1)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/cart-timeout/#post-12780094)
 * Hi [@jricketts4](https://wordpress.org/support/users/jricketts4/) ,
 * Problem is it doesn’t work quite as it should. Yes, if the order is not paid 
   in 30 minutes it gets canceled. BUT… The item is not back in stock while it should
   and this is essential thing here. So is that a bug or am I missing something 
   here?
 * BR,
    Gytis
 *  [Joey – a11n](https://wordpress.org/support/users/jricketts4/)
 * (@jricketts4)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/cart-timeout/#post-12780115)
 * [@reign1](https://wordpress.org/support/users/reign1/) – that’s certainly not
   the intended behavior. It’s not technically a bug, since it’s not able to be 
   duplicated on a fresh install.
 * I would suggest checking to see if you have any plugin or theme conflicts.
    This
   kind of problem can usually be determined by doing the following:
    - 
    - Disable all plugins except for WooCommerce
    - Repeat the action that is causing the problem
 * If you’re not seeing the same problem after completing the conflict test, then
   you know the problem was with the plugins and/or theme you deactivated. To figure
   out which plugin is causing the problem, reactivate your other plugins one by
   one, testing after each, until you find the one causing conflict. You can find
   a more detailed explanation on how to do a conflict test here.
 * – Joey
 *  Thread Starter [reign1](https://wordpress.org/support/users/reign1/)
 * (@reign1)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/cart-timeout/#post-12787336)
 * Hi [@jricketts4](https://wordpress.org/support/users/jricketts4/) ,
 * I’m sorry to say but it didn’t work. I’ve switched to Storefront theme and disabled
   all the plugins apart WooCommerce. Still it ended up with the same result – order
   is being canceled but the item is not restored (item count is one less then it
   should be).
 * Any other suggestions? Thanks.
 * BR,
    Gytis
 *  Thread Starter [reign1](https://wordpress.org/support/users/reign1/)
 * (@reign1)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/cart-timeout/#post-12843931)
 * Hi [@jricketts4](https://wordpress.org/support/users/jricketts4/)
 * Any follow up on this one? Any other ideas or how to troubleshoot this? As mentioned
   in the last comment testing with Storefront theme and other plugins turned off
   still reproduced this issue.
 * BR,
    Gytis

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Cart timeout’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [Hold stock](https://wordpress.org/support/topic-tag/hold-stock/)
 * [inventory](https://wordpress.org/support/topic-tag/inventory/)

 * 5 replies
 * 2 participants
 * Last reply from: [reign1](https://wordpress.org/support/users/reign1/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/cart-timeout/#post-12843931)
 * Status: not resolved