Title: Refresh on countdown timeout
Last modified: August 31, 2016

---

# Refresh on countdown timeout

 *  Resolved [tomathyg](https://wordpress.org/support/users/tomathyg/)
 * (@tomathyg)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/refresh-on-countdown-timeout/)
 * I think it would be helpful if the page refreshed when the timer hits zero, rather
   than just sitting there.
 * Alternatively, an Ajax update would be ideal.
 * [https://wordpress.org/plugins/woocommerce-cart-stock-reducer/](https://wordpress.org/plugins/woocommerce-cart-stock-reducer/)

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

 *  Plugin Author [James Golovich](https://wordpress.org/support/users/jamesgol/)
 * (@jamesgol)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/refresh-on-countdown-timeout/#post-6913119)
 * That’s been on the todo list for a while, but I’m not sure when I’ll have the
   time to work on it.
 *  Thread Starter [tomathyg](https://wordpress.org/support/users/tomathyg/)
 * (@tomathyg)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/refresh-on-countdown-timeout/#post-6913124)
 * Ok, will keep an eye on things 🙂
 *  Thread Starter [tomathyg](https://wordpress.org/support/users/tomathyg/)
 * (@tomathyg)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/refresh-on-countdown-timeout/#post-6913207)
 * It seems that adding window.location.href as the expiryUrl option in query.countdown.
   js does the trick.
 * I know you’re busy but if you do fancy casting your eye over this amendment then
   I’d like to know your thoughts. I’m gonna stick with it for now.
 *  Plugin Author [James Golovich](https://wordpress.org/support/users/jamesgol/)
 * (@jamesgol)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/refresh-on-countdown-timeout/#post-6913213)
 * Yes that’s the plan to do it, still need to decide if it should be a configurable
   option or not.
 *  Thread Starter [tomathyg](https://wordpress.org/support/users/tomathyg/)
 * (@tomathyg)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/refresh-on-countdown-timeout/#post-6913263)
 * I think not. If you were to manually remove an item from the cart then the page
   would be refreshed, so why not when it is automatic?
 * This is a really useful plugin, by the way. I’m surprised this feature isn’t 
   already built into Woocommerce. The only competitor I can find is the Empty Cart
   Timer by Wisdmlabs, but it’s a little over the top with a separate draggable 
   alarm clock. I like the way the Cart Stock Reducer integrates into the layout.
 * A real plus would be to have the individual timers injected into each item in
   the cart, including the mini-cart in the sidebar.
 * As an aside, a fully Ajax, timed cart would be the holy grail for me. I have 
   a plugin that will ajaxify the add to cart but nothing for remove.
 *  Plugin Author [James Golovich](https://wordpress.org/support/users/jamesgol/)
 * (@jamesgol)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/refresh-on-countdown-timeout/#post-6913415)
 * Implemented the expire refresh in the development version. After I finish some
   more testing I’ll push out a new version

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

The topic ‘Refresh on countdown timeout’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-cart-stock-reducer_deb8bb.
   svg)
 * [WooCommerce Cart Stock Reducer](https://wordpress.org/plugins/woocommerce-cart-stock-reducer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-cart-stock-reducer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-cart-stock-reducer/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-cart-stock-reducer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-cart-stock-reducer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-cart-stock-reducer/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [James Golovich](https://wordpress.org/support/users/jamesgol/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/refresh-on-countdown-timeout/#post-6913415)
 * Status: resolved