0

How to create the order programmatically in magento2 using objectManager. I need to test the order creating or not in the root folder. Can you please anyone help me.

1 Answer 1

0

I think this will help you to create order.

https://webkul.com/blog/create-quote-and-order-programmatically-in-magento2/

1
  • The order items were not taken properly. It takes only the last item from item’s array. Commented Mar 1, 2018 at 13:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.