| 开发者 |
akshayaswaroop
wpheka |
|---|---|
| 更新时间 | 2026年11月11日 20:31 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1.4 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
wcbs_before_split_order - Action before order splittingwcbs_after_split_order - Action after order splittingwcbs_backorder_created - Action when backorder is createdwcbs_split_order_error - Action on split errorwcbs_should_split_order - Filter to prevent splittingwcbs_backorder_items - Filter to modify backorder itemswcbs_backorder_status - Filter to change backorder statuswcbs_meta_fields_to_copy - Filter to add/remove meta fields copied to backorderwcbs_disable_emails_on_split - Filter to control email suppression during splitwcbs_copy_charges_to_backorder - Filter: return true to copy shipping costs, fees and coupons to the backorder order in full (the behaviour before 2.4.0)When a customer buys more of a product than you have in stock and the product allows backorders, the extra quantity moves to a new order with the Backordered status. The original order keeps what is in stock, so you can ship it now. Both orders link to each other and get a note. There is nothing to set up: install it and the next order with a backordered item splits by itself.
When the order confirmation page loads after checkout, on the classic checkout and on the block checkout. An order is split once and only once, even if the page is reloaded. If the payment fails, the order is left whole until a retried payment goes through. Orders you add by hand in wp-admin are not split and neither is an order whose customer never reaches the confirmation page. The "Change status to backordered" bulk action on the orders screen changes the status only. It does not split the order.
They are paid once, on the original order. The backorder order keeps the shipping method at no extra cost, so you can see how to ship it. Each order's items keep their share of any coupon discount, so the two orders add up to what the customer paid. Developers can restore the full copy with the wcbs_copy_charges_to_backorder filter.
The order is not split. It gets the Backordered status instead.
No. WooCommerce's emails are held while the backorder order is created, so the customer sees one order confirmation.
No. The plugin never takes a payment. The backorder order shows the original order's payment method and is not marked as needing payment. The customer makes one payment and the two orders' totals add up to it.
Yes. Variations with their own stock and variations that share their parent's stock are both handled.
Under WPHEKA > Backorder Split: orders split, orders backordered now, backorders completed, items moved and the five latest splits.
.trigger( 'focus' ) instead of jQuery's deprecated .focus() shorthand.wcbs_copy_charges_to_backorder filter restores the full copy of shipping, fees and coupons.