Magento 2 get order after submission

You may also like...

5 Responses

  1. Manish says:

    Is the event is sales_order_save_after or sales_order_place_after little bit confused?

  2. George says:

    Thank you very much. Your guide was really helpfull.

    I’d like to add something, if anybody wants to use it only for new orders, they can simply add this:


    if ($OrderStatus == ‘pending’) {
    //some work here

  3. George says:

    I’d like to ask you, how can i get customer information like phone etc, as well as the order’s products in this observer?

Leave a Reply