Linux 软件免费装
Banner图

Bitnary Preorder Dates for WooCommerce

开发者 dvsouto
更新时间 2026年10月1日 05:23
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce preorder pre-order release date

下载

0.3.4

详情介绍:

Bitnary Preorder Dates for WooCommerce adds a pre-order mode to simple products and to individual product variations, with two independent dates: the cutoff (when the store stops accepting orders) and the release (when the product ships or becomes available). Two dates let a store say "we take orders until the 20th, and it ships on the 30th": a batch cutoff followed by a shared release. While a product is in pre-order and before its cutoff, it is purchasable even if your normal stock settings would otherwise say no (out of stock, zero quantity, no backorders). After the cutoff, the product stops being purchasable everywhere WooCommerce checks that, including the classic cart and the cart and checkout blocks (Store API). After the release date, pre-order is cleared automatically and the product goes back to behaving like any other product. What the free version does: What the free version does not do (see the FAQ): it does not warn about or block a cart that mixes pre-order and in-stock items, it does not email the customer before the release date, and it has no way to move the dates of many products at once. Privacy The free version makes no external requests and collects no data.

安装:

  1. Upload the plugin files to /wp-content/plugins/bitnary-preorder-dates-for-woocommerce, or install it through the WordPress plugins screen.
  2. Activate the plugin. WooCommerce must already be installed and active.
  3. Edit a simple product and open the "Pre-order" tab in the Product data box, or edit a variation and open the pre-order fields inside the Variations tab.
  4. Turn pre-order on, set when orders close and when the release ships.
  5. Optionally adjust the label, button text, closed message and date format under WooCommerce > Settings > Products > Pre-order dates.

屏幕截图:

  • Pre-order fields on a variation, inside the Variations tab.
  • Pre-order label, release date and Pre-order button on the product page.
  • Block-based cart showing the Ships on date under a pre-order item.
  • The closed message on a product whose cutoff has passed.
  • Settings under WooCommerce > Settings > Products > Pre-order dates.
  • The Pre-orders screen under the WooCommerce menu.

升级注意事项:

0.3.4 Small fix to the pre-order button text in shop listings. 0.3.3 Adds a Settings link in the plugins list and short pointers to the paid version. 0.3.2 Drops the Freemius SDK from the free version. Nothing on your store changes. 0.3.1 Renames the plugin's internal prefix. Your dates and settings carry over on their own. 0.1.1 Fixes variation pre-order label/button text and shop listing indication for variable products. 0.1.0 First release.

常见问题:

Why two dates instead of one?

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.

What happens exactly at the cutoff?

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.

What happens at the release date?

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.

What does the free version not do?

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.

Where do I get the paid version?

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.

Does this work with High-Performance Order Storage (HPOS) and the cart/checkout blocks?

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.

Does this send emails or texts to customers automatically?

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.

Where do I set the store timezone used for the dates?

Settings > General > Timezone in WordPress. The plugin reads and writes all dates using that timezone (wp_timezone()).

更新日志:

0.3.4 0.3.3 0.3.2 0.3.1 0.3.0 0.2.0 0.1.2 0.1.1 0.1.0