What is Sub Order?
When someone buy from different seller in one order, we create sub order for every seller to show that in their Dashboard!
WooCommerce stores every products in a single order. So if one order contains multiple products, which users dashboard it'll show? Answer is: No one.
So what does it do? Well, Dokan does something on its own. It monitors every order, if any order contains products from multiple sellers, it splits the products, coupons, shipping charges and everything based on each seller and create separate sub-orders for every seller from the parent order. Every seller see's the sub-order in their dashboard.
Customer pays against the parent order only. If the payment is completed for the parent order, child order statuses gets updated. Every seller manages their orders (sub-order) individually. Once every sub-orders is completed, parent order is marked completed automatically.
If you are wondering, if the orders get duplicated, won't the WooCommerce report will show double earning? Well, no. Dokan filters the sub-orders from the WooCommerce report and you see only the original transactions with no duplicates.
We didn't find any other alternative to accomplish this task! As Etsy does, it gives option to place order for each seller. But as it's very difficult to do so in WooCommerce, we had to chose this way.