| 开发者 | ok9xnirab |
|---|---|
| 更新时间 | 2026年11月27日 18:19 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
{date} placeholder for the release date (default "Available on {date}"). Products without a date show a generic message.[salemint_preorder_countdown product_id="123"]
salemint-pre-order-for-woocommerce text domain.templates/emails/ folder to yourtheme/woocommerce/emails/.templates/ folder to yourtheme/salemint-pre-order-for-woocommerce/, keeping the same sub-folders. Change that folder with the salemint_preorder_theme_template_path filter.salemint_preorder_ended – a product left pre-order mode ($product, $reason: scheduled or manual).salemint_preorder_balance_order_created – a balance order was created ($balance_order, $parent_order).salemint_preorder_balance_due – a deposit order's balance became due ($order).salemint_preorder_balance_payment_requested – an admin resent the balance request ($order).salemint_preorder_balance_collected – the balance was paid or marked collected ($order).salemint_preorder_customer_cancelled – a customer cancelled a pre-order.salemint_preorder_confirmed_notification and salemint_preorder_available_notification – fired once per order when those customer emails go out.salemint_preorder_button_label – the pre-order button text.salemint_preorder_availability_message and salemint_preorder_availability_message_html – the availability message.salemint_preorder_countdown_html – the countdown markup.salemint_preorder_theme_template_path – the theme folder searched for template overrides.salemint-pre-order-for-woocommerce folder to /wp-content/plugins/ by FTP.Yes. WooCommerce must be installed and active. The plugin declares WooCommerce as a required plugin, so WordPress won't activate it without WooCommerce.
Simple products, and individual variations of variable products.
No. Pre-order is enabled per variation, so you choose exactly which variations are sold as pre-orders. The others keep selling normally.
It depends on the product's payment mode:
When the product is released, the plugin creates a balance order for the amount still owed and emails the customer a Pay now link. They can also pay from My Account > Orders with the Pay balance button. Payment goes through WooCommerce's standard "Pay for order" page with any enabled payment method.
Open the original order and choose Mark pre-order balance as collected from the Order actions menu. You can also mark the balance order itself as Processing or Completed once the payment arrives. Both have the same effect.
Yes. On the original order, choose Resend pre-order balance payment request from the Order actions menu. If the old balance order was cancelled, a new one is created first.
No. Unpaid balance orders stay open until the customer pays, you mark the balance as collected, or you cancel them. WooCommerce's "hold stock" cleanup doesn't touch them.
The product leaves pre-order mode automatically: the regular price and "Add to cart" button come back, and customers who pre-ordered get the Pre-order available email. Orders held as Pre-Ordered move back to their normal status, unless a deposit balance is still unpaid. Deposit pre-orders also get their balance order and pay link.
Yes. Click End pre-order now in the product's Pre-order tab.
Choose No date. The product stays a pre-order until you end it manually, and the availability message shows a generic text instead of a date.
That's intended. Paid orders that contain pre-order items are held in Pre-Ordered until the items are released, so they aren't fulfilled early. They move to Processing or Completed automatically on release.
That depends on the Mixed cart strategy setting under WooCommerce > Settings > Pre-order > Cart/Checkout. You can block mixed carts, combine everything into one order, or split the cart into separate orders.
Yes. Under WooCommerce > Settings > Pre-order > Payment, pick the gateways allowed for pre-orders. Leave the field empty to allow all enabled gateways.
Yes, if you turn on Allow customer cancellation under WooCommerce > Settings > Pre-order > Cancellation. A Cancel pre-order button then appears on eligible orders in My Account > Orders and on the order's View order page, until the product is released.
If the order was already paid and its payment gateway supports refunds, the plugin refunds the full amount through that gateway automatically. If the gateway can't refund automatically (cheque, bank transfer, cash on delivery), or the refund fails, the order is still cancelled, a "refund needed" note is added, and the admin email asks you to refund the customer manually.
Add [salemint_preorder_countdown product_id="123"] to any page, post or widget, replacing 123 with the product ID. The product needs a fixed availability date, and the countdown must be turned on in its Pre-order tab.
Yes. Pre-orders, deposits, the Pre-Ordered status and the pre-order emails work with both the classic checkout and the Cart and Checkout blocks.
Yes. The plugin declares HPOS compatibility and only accesses orders through WooCommerce's CRUD API, so it works with both HPOS and legacy post-based order storage.
Yes. Every pre-order email is a regular WooCommerce email. Edit its subject, heading and additional content under WooCommerce > Settings > Emails, or override its template from your theme by copying it to yourtheme/woocommerce/emails/.
Yes. All text uses the salemint-pre-order-for-woocommerce text domain, and translations from translate.wordpress.org load automatically.
No. The plugin doesn't connect to any external service and doesn't track you or your customers. Payments are handled by the payment gateways you already use.
SaleMint Pre-Order Pro is coming soon. It adds automatic out-of-stock pre-orders, pay later, auto-charge on release, pre-order fees, free shipping, role restrictions, quantity limits, management tables, extra notifications and more. The free plugin stays fully functional on its own.
salemint_preorder_countdown_html filter.$data argument of the salemint_preorder_save_product_enabled filter now receives sanitized, unslashed request data instead of raw $_POST.salemint_preorder_save_variation_enabled).