| 开发者 | dvsouto |
|---|---|
| 更新时间 | 2026年10月1日 05:23 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/bitnary-preorder-dates-for-woocommerce, or install
it through the WordPress plugins screen.One date only answers "when is it available". Two dates answer the two questions a shop actually needs during a pre-order window: when do we stop taking orders for this batch, and when does it ship. If your cutoff and release are the same day, just set them to the same value; the plugin does not require them to differ.
The product stops being purchasable: woocommerce_is_purchasable and
woocommerce_variation_is_purchasable return false, the classic add-to-cart form and AJAX
add-to-cart are blocked, and adding the item through the Store API (used by the cart and
checkout blocks) is rejected with the message configured as "Closed message". The product page
and shop listings show that message in place of the pre-order label.
Pre-order is cleared: the enable flag, cutoff and release dates are removed from the product or variation, and it goes back to being handled entirely by WooCommerce's normal stock and purchasability rules. This happens automatically the next time the product is read (viewed, loaded in the admin, queried) or, at the latest, the next time the daily cleanup runs.
It does not stop a customer from adding a pre-order item and an in-stock item to the same cart, it does not email the customer a few days before the release date, and it has no way to move the pre-order dates of many products at once. All three are part of the paid version, which can warn about a mixed cart or block checkout until it is split, but does not split it into two orders.
At https://preorder.bitnarydigital.com, also linked from WooCommerce > Settings > Products > Pre-order dates. The paid version is a separate download that replaces this plugin: deactivate this one, then upload and activate the paid one. Your dates and settings carry over. It is sold through Freemius, which handles the licence key and its updates. Refunds are available for 14 days.
Yes. Both are declared compatible on before_woocommerce_init via
FeaturesUtil::declare_compatibility(), and the plugin only ever reads and writes product and
order data through WooCommerce's own CRUD methods, never raw SQL.
No. The release date is added as a line on the cart, checkout, and order emails that WooCommerce already sends; the plugin does not add its own separate emails or SMS.
Settings > General > Timezone in WordPress. The plugin reads and writes all dates using that
timezone (wp_timezone()).
pdw_loaded should hook
pdfw_loaded now.bitnary-preorder-dates-for-woocommerce.pdw_loaded action, so the paid add-on has a stable
place to hook into.