Can cache plugin cause overselling in woocommerce?
-
Hi,
I’m trying to speed up a wp/woocommerce site which is slow. I’ve implemented this cache minimally right now, I’m just using enhanced page cache and browser caching at the moment. Speed is great.
First sale went great. Second sale had major problems. One product was set up with variants, all variants had back orders disabled and limited stock (And woocommerce is set up for no back orders and to manage stock). For some reason the site allowed overselling on most variants.
Tbh I cannot see why this is happening. Woocommerce is set to reserve items in cart for 5 minutes. The cache does not appear to be caching cart or checkout pages. I can see that the product can appear in stock after it’s out of stock due to caching on the product page but my testing shows woocommerce correctly stops add to cart with an ‘out of stock’ message in that scenario. If I end up with a browser cached cart page including a product which was in stock but is now out of stock, Woocommerce seems to correctly stop checkout with an ‘out of stock’ message.
I have hardly done anything apart from implementing the cache and this over selling has never happened before, so I’m fairly convinced the cache is -somehow- causing the overselling to be allowed.
Any ideas hugely appreciated!
The page I need help with: [log in to see the link]
- The topic ‘Can cache plugin cause overselling in woocommerce?’ is closed to new replies.