-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transport Variables can not be modified for invoice and shipment mail #15152
Comments
Setting of the transport variables was broken for ages. An attempt to fix it was made however the fix did not cover all aspects properly. The failed fix was released in 2.2.4. Here's the original bug report. #10210 That last PR is waiting to be merged, but hopefully as of 2.2.5 all email senders will properly work with the new transportObject data parameter. Note that following this change, the use of $transport is deprecated. You should use $transportObject instead in your observer. Here is an example of a working observer that adds plain text billing and shipping address to the transport object.
|
Hi gwharton , |
I am using magento 2.2.3 and have custom shipping method to magento store,every thing is working like a charm except custom details in invoice and shipment mail.Transport variables are modified for order email but not working for invoice and shipment.I have crosschecked and observer is working fine for invoice mail and shipment mail.
Preconditions
Steps to reproduce
Expected result
Actual result
Transport variables not modified and custom data not sent in mail
The text was updated successfully, but these errors were encountered: