- Magento Development
- Magento Services
- Industry Solutions
- Hire Magento Developer
I was working on email functionality for a Magento client and I faced this error.
If you observe above screenshot carefully then you will find that special characters are not looking the way they suppose to be.
I dug further and realized that ‘Magento core Dotmailer plugin’ was installed and it was decoding utf-8 string to a terrible creature by utf8_decode() function.
So, It was necessary for me to disable private function getProcessedTemplatePreviewAndOther() or update module version because in Magento 2.3.0 latest version it is solved and module version is updated.
Here, I’m sharing with you that how to update dotmailer plugin using composer:
composer require dotmailer/dotmailer-magento2-extension:"[Dotmailer Latest Version] as [Dotmailer Current Use Version]"
composer require dotmailer/dotmailer-magento2-extension:"3.0.3 as 2.6.0"
Note: Here 3.0.3 is dotmailer plugin version, which is used in our latest Magento 2.3.0. Aparts, 2.6.0 is dotmailer plugin version which is used in our current Magento 2.2.6.
create the event.xml on your module under the Vendor/Module/etc/event.xml and...
If you need a custom meta tag for a specific...
Generally, if you load font as preload, it will load...
Step 1: First you need to add di.xml in the...
Override the vendor/magento/module-sales/view/frontend/templates/email/items/order/default.phtml file on your theme and add the...