Questions tagged [create-order]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
4k views

Programatically Create Order in Magento 2.1

Has anyone figured out how to programatically create an order in Magento 2.1 yet ? There are a few tutorials kicking around for 2.0 which work nicely but every since I upgraded it no longer works. ...
0
votes
1answer
2k views

Magento 2 - Add custom block to admin order create form

I need to add new block to admin order create form (in totals section). First I tried to do it by adding sales_order_create_index.xml to my module and adding my block to <referenceBlock ...
2
votes
3answers
8k views

How to add Shipping Rate while creating Order programmatically

Shipping Method addition is happening as it should be. But, Shipping Rate as per the Shipping method or, custom Shipping rate is not getting added to the order. $address = $quoteObj->...
0
votes
0answers
93 views

Error in creating Order Programmatically, Magento 2

I am creating order at controller action, just to test if its working or not as: class Save extends \Magento\Framework\App\Action\Action { /** * @param Magento\Framework\App\Helper\Context $...