| 开发者 | developerakshat |
|---|---|
| 更新时间 | 2026年9月4日 02:56 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
fssgw_hold_ttl filter — vary hold duration per product or globally.fssgw_is_product_guarded filter — decide guarding programmatically, by category, campaign, or anything the settings screen doesn't cover.fssgw_release_statuses filter — control which order statuses release a converted hold.fssgw_providers filter — register additional service providers without touching plugin files.fssgw_holds_expired action — fires after each cron expiry sweep, for logging or metrics.wp fssgw status./wp-content/plugins/flash-sale-stock-guard-for-woocommerce, or install it through the WordPress plugins screen directly.Overselling happens because WooCommerce only checks stock at checkout — two shoppers can add the last unit to their carts at the same time, and both are allowed to try to pay. Turn on Flash Sale Stock Guard for a product (or let the low-stock default catch it automatically), and stock is held the moment it's added to cart instead — so only one of those two shoppers can ever complete the order.
No — that's just the scenario overselling happens fastest in. The same hold-on-add-to-cart protection runs every day for any product you guard, sale or no sale: low-stock items, one-off restocks, made-to-order or limited-run products, anything where two people could otherwise grab the same last unit.
Yes. It has no purpose without it, and won't do anything if WooCommerce isn't active.
The held quantity is released back to available stock automatically, and the item is removed from that shopper's cart. On the cart or checkout page the countdown turns into a pop-up telling them the reservation lapsed, with a button back to the shop. If the item is still in stock, adding it again starts a fresh hold.
Yes — holds are tracked per variation, not just per product.
No. Stock checks use a lightweight database lock scoped to the specific product being held, so shoppers buying different items never wait on each other.
Yes, alongside the classic shortcode-based versions.
Yes — the countdown display and the hold logic are controlled by separate settings.
Yes. WooCommerce → Stock Guard → Expiry popup sets its background colour, text colour, button colours, and text size. The wording and the "back to shop" destination are fixed.
Not by default. Your guard settings and per-product overrides stay in the database in case you reinstall. Data is only wiped if you tick "Delete data on uninstall" in the settings screen first.