File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
app/code/Magento/Sales/Model/Order Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,12 @@ public function send(
111111 'store ' => $ order ->getStore (),
112112 'formattedShippingAddress ' => $ this ->getFormattedShippingAddress ($ order ),
113113 'formattedBillingAddress ' => $ this ->getFormattedBillingAddress ($ order ),
114+ 'order_data ' => [
115+ 'customer_name ' => $ order ->getCustomerName (),
116+ 'is_not_virtual ' => $ order ->getIsNotVirtual (),
117+ 'email_customer_note ' => $ order ->getEmailCustomerNote (),
118+ 'frontend_status_label ' => $ order ->getFrontendStatusLabel ()
119+ ]
114120 ];
115121 $ transportObject = new DataObject ($ transport );
116122
Original file line number Diff line number Diff line change @@ -111,6 +111,12 @@ public function send(
111111 'store ' => $ order ->getStore (),
112112 'formattedShippingAddress ' => $ this ->getFormattedShippingAddress ($ order ),
113113 'formattedBillingAddress ' => $ this ->getFormattedBillingAddress ($ order ),
114+ 'order_data ' => [
115+ 'customer_name ' => $ order ->getCustomerName (),
116+ 'is_not_virtual ' => $ order ->getIsNotVirtual (),
117+ 'email_customer_note ' => $ order ->getEmailCustomerNote (),
118+ 'frontend_status_label ' => $ order ->getFrontendStatusLabel ()
119+ ]
114120 ];
115121 $ transportObject = new DataObject ($ transport );
116122
Original file line number Diff line number Diff line change @@ -110,7 +110,13 @@ public function send(
110110 'payment_html ' => $ this ->getPaymentHtml ($ order ),
111111 'store ' => $ order ->getStore (),
112112 'formattedShippingAddress ' => $ this ->getFormattedShippingAddress ($ order ),
113- 'formattedBillingAddress ' => $ this ->getFormattedBillingAddress ($ order )
113+ 'formattedBillingAddress ' => $ this ->getFormattedBillingAddress ($ order ),
114+ 'order_data ' => [
115+ 'customer_name ' => $ order ->getCustomerName (),
116+ 'is_not_virtual ' => $ order ->getIsNotVirtual (),
117+ 'email_customer_note ' => $ order ->getEmailCustomerNote (),
118+ 'frontend_status_label ' => $ order ->getFrontendStatusLabel ()
119+ ]
114120 ];
115121 $ transportObject = new DataObject ($ transport );
116122
You can’t perform that action at this time.
0 commit comments