Posted on

Magento 1.9 Convert Order item to Quote Item

I am working on an order edit plugin. What is the best way to convert an order item to a quote item? Like if the order has a configurable product the sales_flat_order_item table has 2 entries, 1 for parent and another for the child product. When I tried converting this is not working for quote items. It is only creating 1 row, it is for the parent product.

Thanks in advance !!!

Leave a Reply

Your email address will not be published. Required fields are marked *