Split Orders
What are Split Orders
Core dna allows orders to be split into separate child orders if certain product conditions are met. Currently, Orders can be split based on product availability date and shipping class. For example; A parent order with three products can be split into three separate orders, each with a single product based on their own availability date.
Enable Split Orders
In the Core dna DXP, navigate to the Commerce module. From here click Configure → Manage Split Orders
You will see the following screen:
Enable Split Orders switch enables split orders. This must be enabled for the split checkout to function.
Split By drop-down allows core dna to split the cart based on the products settings.
- Availability Date: Checks the products a
- Shipping Class: Checks the products set shipping date.
If these settings are blank even with enabled split orders set, Core dna will not create split orders.
Checkout a Split Order
With Split Orders enabled, add two products into your cart. Ensure at least one of these products can meet the conditions of the split order (Edit Product → Shipping) so Core dna can group them accordingly. Checkout will look as normal, with the only difference being shown on the commerce DXP after order completion:
The order created now has a + icon beside the customer name and the order status of 'split'. If you expand this icon, you will see all the split orders for this parent. The parent will still contain all the products including shipping / discounts as normal. Each split order will keep only the totals which are relevant to the selected products. All the orders created have the same order number. but different order ids.