New answers tagged

0

Please check core_config_data table has store value or not SELECT * FROM `core_config_data` WHERE `path` LIKE "custom_finance%"; I Hope This Helps You.


0

To be able to add system config variables to email templates it is not enough that they are defined in system.xml and added to core_config_data. You must also make them appear in the list of variables that appear when you click Insert Variable… In the email templates: To do this you have to define a config path in your di.xml like this: <?xml version=&...


0

You have to remove the "," (comma) after the name=$name variable. Here you can find an example from a core template.


0

Reference source: https://magentip.com/change-magento-2-store-logo/ You can upload and overwrite the file in logo file path, for example /frontend/Magento/luma/pl_PL/images/logo.svg If you want to Change magento 2 logo programmatically, go to \app\design\frontend\Magento\luma\Magento_Theme\layout\default.xml Add this code <?xml version="1.0"?...


0

Create the order_new.html file in your module, path:app/code/{VendorName}/{PackageName}/view/frontend/email/ And do your customization.


0

If you want to send a completely different email then create one more email template as you did for the customer to admin. If you want to change Dear to Dear then Pass var to the email template accordingly. Use try to use call .phtml file in template and then set condition accordingly.


2

Put your syntax in <span style="text-transform: lowercase;">{{var data.enquiry_type}}</span> Happy Coding


0

here is my execute function (observer) any other file code add You can try as below: $templateVars = array( 'store' => $this->storeManager->getStore(), 'message' => 'We processed your order ID We will contact you soon in mail for the acknowledgement if you not receive mail within 4 hours please get help from ...


0

Another solution: My PHP version: 7.2.32 composer require pelago/emogrifier:2.0.0 It was not working with pelago/emogrifier:2.2.0 Thanks,


0

First of all you can't add PHP code in html file. You can add or change email logo from admin. Please prefer this link Magento DevDocs for Email Templates Steps to upload logo from admin is :: Magento Admin > CONTENT > Design > Configuration > Select your store scope > > Save Configuration If this helps you then hit like. Thank you Hiren ...


0

The problem is that the template is not updated to the new format. A work-around is to set the is_legacy column to 1 in the database table email_template.


Top 50 recent answers are included