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(
111
111
'store ' => $ order ->getStore (),
112
112
'formattedShippingAddress ' => $ this ->getFormattedShippingAddress ($ order ),
113
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
+ ]
114
120
];
115
121
$ transportObject = new DataObject ($ transport );
116
122
Original file line number Diff line number Diff line change @@ -111,6 +111,12 @@ public function send(
111
111
'store ' => $ order ->getStore (),
112
112
'formattedShippingAddress ' => $ this ->getFormattedShippingAddress ($ order ),
113
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
+ ]
114
120
];
115
121
$ transportObject = new DataObject ($ transport );
116
122
Original file line number Diff line number Diff line change @@ -110,7 +110,13 @@ public function send(
110
110
'payment_html ' => $ this ->getPaymentHtml ($ order ),
111
111
'store ' => $ order ->getStore (),
112
112
'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
+ ]
114
120
];
115
121
$ transportObject = new DataObject ($ transport );
116
122
You can’t perform that action at this time.
0 commit comments