This document outlines some common issues and how to solve them when using Reserved Stock Pro for WooCommerce.
How to flush reservations
Technically you shouldn’t have to manually flush the reservations from the database since they are cleared automatically. However if you are just testing and need flush the reservations there’s two methods.
- Deactivate and activate the Reserved Stock Pro plugin will trigger the database table to be re-built.
- You can also flush all reservations by triggering the WooCommerce Tool “Clear Customer Sessions”.
Countdown banner not showing
If the countdown banner isn’t displaying correctly on your store, then it could be caused by a CSS conflict. The Reserved Stock countdown should always display as “sticky” and be visable when scrolling the store.
“Sticky” elements can fail if their parent elements are using overflow: hidden. In other words. If the overflow is hidden, then there’s nothing for the countdown to stick to. Therefore we need to find which element on your store has the CSS property of
overflow: hidden; In most cases, it could be the body tag.
Try adding this custom CSS to change the overflow of the body tag.
}Code language: CSS (css)
Inspect your site to ensure the change doesn’t change cause any other issues. The countdown should now display in the browsers view!
If you can’t change the overflow on your theme then have a look at using custom placements for the Reserved Stock countdown with our developer hooks.
The countdown is more or less than my set minutes.
The incorrect time occurs when the current device has an incorrect time. Your computer’s clock is either ahead or behind the real-time.
You can check your computers time by at https://time.is/
Solution: Set your device time & date settings to automatically synchronize.