New answers tagged

0

Flat Rate - Delivery is coming from the database column shipping_description of sales_order table. If you want to changes Flat Rate - Delivery text only for order confirmation mail then best of idea add a new parameter to order confirmation email using event email_order_set_template_vars_before and on this parameter will have to do a string replace on ...


0

the model Magento\Email\Model\Transport and the function public function sendMessage() within this model is the deepest part where you can stop and reroute the email. However, at this point you don't have anymore access to the Magento template identifier that is used. So, if you do need to interact with Magento data, I believe your next fallback is to ...


1

Check below code I just get row total below SKU using the below code and it works for me. <P class="RowCode"><?= __("Row Totel")?>: <?= $block->escapeHtml($_item->getRowTotal())?> Add above code in your /app/design/frontend/Theme/Theme/Magento_Sales/templates/email/items/invoice/default.phtml Then try to flush Magento cache ...


0

Check below code create di.xml file in custom module File:-Vendor/Module/etc/frontend/di.xml: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="Magento\Customer\Model\EmailNotification" type="Vendor\...


-1

<?= $_order->formatPrice($_item->getPrice()) ?>


1

I think you want something like this https://github.com/DominicWatts/ContactResponse Much of the hard work is done by the plugin https://github.com/DominicWatts/ContactResponse/blob/48e9cb23f72990551d5c2dbb51605871024e53b2/Plugin/Frontend/Magento/Contact/Model/Mail.php#L72-L116 public function afterSend( \Magento\Contact\Model\Mail $subject, ...


1

Check the following class: vendor/magento/module-customer/Model/AccountManagement.php protected function sendEmailConfirmation(CustomerInterface $customer, $redirectUrl) { try { $hash = $this->customerRegistry->retrieveSecureData($customer->getId())->getPasswordHash(); $templateType = self::NEW_ACCOUNT_EMAIL_REGISTERED; ...


Top 50 recent answers are included