Order/Coupon/Subscription Export Import Plugin for WooCommerce allows importing of orders along with line items in CSV/XML format. While importing orders, elements in the line items are separated using the pipe ‘|’ symbol. A sample format for inserting elements in the line item column is as given below:
By default, the line items in an order are identified by product ID. There can be instances where the user needs to use SKU instead of product ID. In those cases, just leave the space meant for product ID empty provided that they are separated with the pipe symbol as shown below:
In general, if any of the element is not present in the line item column, then the space for it has to be kept empty separated with the pipe symbol.