How to generate a Commerce order from a CSV? I'm using Drupal 7 with commerce. Is there a way to generate an order from a csv or similar? the idea is that users could upload a csv (sku and quantity for now) with the items they want and the system generate an order with that.

i'm trying with feeds and the entity processor but i can't import the line items and create de order in the some process (they have to be related with an order). If this is the way, it's not clear to me how to do that.
Im not sure how to make csv directly to order, but this should work:


create a node type, called "csv order" 
use Feeds module to fetch the data from csv to this node type
install module hook_post_action
write a custom module, which after saving node "csv order" would take data from this node, and create commerce order with line items
remove the csv order node if neccesary