[v1.2.6; M2.4.4] How to fix the incompatible email issue on M2.4.4?

Created by Rosa Truong, Modified on Fri, 15 Jul, 2022 at 3:22 PM by Rosa Truong

Issue: 

When the Checkout Custom Field extension is installed the Invoice and Shipment emails that go out are missing much of the information that is supposed to show up in them. When this extension is removed the emails display correctly  

The reason is that Magento added many new fields to the email template and they're not setup in the app/code/Bss/CheckoutCustomField/Model/Plugin/Sales/Order/Email/Sender files properly.

Solution:

The issue is from our module's bug when the current version 1.2.6 is not compatible well with M2.4.4 at this time.
To solve it, we have edited these files:
app/code/Bss/CheckoutCustomField/Model/Plugin/Sales/Order/Email/Sender/CreditmemoCommentSender.php
app/code/Bss/CheckoutCustomField/Model/Plugin/Sales/Order/Email/Sender/CreditmemoSender.php
app/code/Bss/CheckoutCustomField/Model/Plugin/Sales/Order/Email/Sender/InvoiceCommentSender.php
app/code/Bss/CheckoutCustomField/Model/Plugin/Sales/Order/Email/Sender/InvoiceSender.php
app/code/Bss/CheckoutCustomField/Model/Plugin/Sales/Order/Email/Sender/OrderCommentSender.php
app/code/Bss/CheckoutCustomField/Model/Plugin/Sales/Order/Email/Sender/ShipmentCommentSender.php
app/code/Bss/CheckoutCustomField/Model/Plugin/Sales/Order/Email/Sender/ShipmentSender.php


Please overwrite these files on the site to fix the issue.


If you need any further support, please feel free to contact us.

We'd like to help.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article