Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [email-templates]

denotes a question about the Magento e-mail templates

1
vote
2answers
27 views

Magento 2 - Include Customizable Options in Email Template

I need to include product Customizable Options with price in order email template. For this I have modified the code and added the Customizable Options code. All are showing fine but the Customizable ...
0
votes
0answers
16 views

Magento2 : How to get order-total in shipping email

I like to get order-total in shipping email template of magento 2.3
1
vote
1answer
26 views

How to get image and price in shipping email template in Magento2.3?

How to get product image and price in shipping email template. For image i add a code in shipping/default.phtml <?php $productId = $_item->getProductId(); $objectManagerHere = \Magento\...
3
votes
2answers
56 views

if-condition in Order update EmailTemplate

I like to use differrent text for order_update email template. Admin->Marketing->Email template i create new template for "order update" If $order.getStatusLabel() == "Cancel" I like to add some ...
0
votes
0answers
20 views

Magento2 email order copy for admin with custom template with order data

I have used Magento2 I want to select custom email template with order's dynamic data.I want to sent admin order copy.if anyone develop this type of functionality and if available module please reply ...
1
vote
2answers
50 views

Email template for contact form in magento2.2.5?

I have extended contact email form and added few fields(Refer screenshot) Under subject field there are 3 options, based on the subject selected the email should be send to multiple users. For ...
0
votes
1answer
28 views

Magento 2.2 Override admin forget password email template still load from vendor

Hi I have been stuck about 1 day, what I want is override this file in my magento 2: vendor/magento/module-user/view/adminhtml/email/password_reset_confirmation.html I have many attempt but still ...
0
votes
0answers
17 views

How to send 2 different email from a single action in magento 2

How can I send 2 different email with different template (one for client and second for admin) from a single action in magento 2
3
votes
0answers
28 views

Magento 1: Showing templateControl is not defined message in console

In transactional emails, I am trying to call custom value and attributes but my changes are not reflecting on a email. I tried to look a using email template but my email template also is not working ...
3
votes
1answer
20 views

How to send Payment Transaction Failed Email copy to customers in Magento 1

There is a setting in Magento Admin > System > Configuration > Checkout (from sales section) > Payment Failed Emails where you can add custom email id to receive it. But I want our customers to ...
1
vote
2answers
38 views

Magento2 How to Integrate background image in my email template

I want to integrate a image in tag as background in style for my account creation email template. Where can I place this image in my folder and how can I call the image as background.
1
vote
2answers
46 views

Magento2 : Order Items Email Template Adjustment

I need to add align="right" in th(i.e Subtotal, Shipping & Handling, Grand Total) to align right on tfoot. I have found that its rendering from the below code under Magento_Sales/templates/email/...
1
vote
1answer
25 views

Magento 2 : How to add additional field in Email Template?

I have created my custom Payment Method in Magento2 and also 2 fields in Payment method now everything working fine now I want send the 2 additional field data in sales order email so how can I do ...
4
votes
1answer
28 views

Attach invoice pdf to custom e-mail in magento 2

I created a custom email and it's working fine like this: $data['amount'] = round($amount); $data['customer_name'] = $customer->getFirstname() . ' ' . $customer->getLastname(); $...
1
vote
2answers
43 views

Send newsletter

I have freshly installed Magento 2, And I could not find a way to send the newsletter email, There are options to queue template, but it is never sent, and the start date is always different from ...
0
votes
0answers
34 views

How to display star rating of new review product in email template in magento2

I want to display star ratting of new review product on email template for notification new review by email. I am unable to get star ratting on email template for my custom module.
0
votes
1answer
57 views

Sending order confirmation email template in Magento 2

I am trying to send an order email confirmation with adding extra attributes values to Admin, But it's not working for me. Here I have 2 Email templates. 1) It's a default email template 2) ...
0
votes
0answers
11 views

How to redirect the customer to the same store he has last used when he click on a button in email?

I have a button in my email called "Shop". once the email is sent to the customer if he clicks on the "shop" button it will redirect to the same store from where he has last used. How to do this.
0
votes
0answers
14 views

How to send a purchase email to the suppliers manually by clicking a button on order detail page in Magento 2?

After creating an invoice for the order, I want to able to send a purchase email to the related suppliers manually by clicking a button for each supplier on order detail page. The order may include ...
0
votes
1answer
35 views

How to use Mailchimp template in Magento 2 emails

I am trying to use Mailchimp templates in magento 2 emails instead of magento 2 default email templates. How can I achieve this?
0
votes
1answer
36 views

Magento 2 Password Reset Email goes to 404 link

I am unsure what has happened but my email template Reset Password button now links to a 404 page. Is there any way that I can get the original variable used for getting a customers password reset ...
0
votes
1answer
48 views

Template debug areas on transaction emails

We are sending out order confirmation emails programatically using the following code in Magento 2: # Now send out the emails: $emailSender = $objectManager->create('\Magento\Sales\Model\Order\...
1
vote
1answer
22 views

Change email button color not working for magento 2 email template

i tried to change the button for account confirmation email template in my custom theme like this: app/design/frontend/Test/mine/web/css/source/_email-extend.less .button{ a{ background-...
0
votes
0answers
8 views

Send custom Email to Customer after submitting Form in Magento 2

I want to send a custom email to the customer just after submitting a Feedback Form. For Submitting the form I created a Controller Action here is my action file use Magento\Framework\App\Action\...
1
vote
3answers
127 views

Magento 2 add customer group as Email Template variable

In magento 2 it is possible to create Email Template variables, however, those variables are html or plain text. I'd like to create a variable containing the user group, so i can use this variable to ...
2
votes
0answers
80 views

Create and update rp_token in Magento 2

I'm trying to create customer account manually in my custom module. Customer account is getting created successfully and welcome email is sent to the new customer using $customer->...
0
votes
0answers
18 views

Account creation email template

When a new user is registering, I am sending a confirmation email with the template "account_new.html" Inside this template I noticed variables being displayed using: {{trans "%name," name=$customer....
0
votes
0answers
57 views

Magento 2 system variable for “Order Created at” for email templates

What is the email template system variable for "Order Created at" for Magento ver. 2.2.6? Using the variable name: {{var order.getCreatedAtFormated('long')}} doesn't work for me. This is a variable ...
0
votes
1answer
78 views

Update Text in credit memo email template

app\design\frontend\Theme\name\Magento_Sales\templates\email\creditmemo\items.phtml Below script showing total related details in refund email template. <tfoot class="order-totals"> <?= $...
0
votes
2answers
36 views

Transactional Emails not sending [duplicate]

I am having an issue with transactional emails on Magento 1.9. Order confirmation emails are not sending. Can anyone help?
3
votes
1answer
17 views

How to get newsletter subscribers email id in transactional email templates in magento 1.9

I want to access newsletter subscribers email id in transactional email templates, how to access that?
0
votes
1answer
91 views

CSS inlining error: DOMXPath::query(): Invalid expression in selector in Magento 2.2.5

In magento 2.2.5, I am using the custom theme and I have used the blank theme's files. In mail I am getting this error : CSS inlining error: DOMXPath::query(): Invalid expression in selector ...
0
votes
2answers
31 views

Magento 1.9 - Where is Sales Email option

I have created a custom email template for Order Confirmation email. Now I want to select that template in the admin so it can be the template/design which will be send to customers who place orders. ...
0
votes
0answers
38 views

Magento 2 Email Templates css not working

In this i am working on Email Templates, When iam trying to add my custom css in "Template Styles" its not working.
0
votes
1answer
89 views

Magento 2 edit {{var alertGrid|raw}}

How can I edit the {{var alertGrid|raw}} for the magento 2.2.x stock alert email? I know the template is found in vendor\magento\module-product-alert\view\frontend\email\stock_alert.html but the ...
0
votes
0answers
13 views

Magento 1 transactional email not adding inline styles

For some reason some of our e-mails do not got the inline styles added, when the email is sent. I already checked the settings at configuration -> Design -> Transactional Emails. These are set ...
0
votes
0answers
18 views

Magento 2. Use same email templates for emails sent from admin and frontend without duplicating the templates

I have multiple custom emails that are triggered by events either from admin or from frontend. I would like to use the same email templates without duplicating the email template files or ...
5
votes
3answers
798 views

Magento 2.3 custom email attachment not working

Custom email attachment file is not working in magento 2.3. its working in Magento 2.2.X Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Mail\Message\Interceptor::...
0
votes
1answer
27 views

Email template issue in custom module Magento 1.9

I have created an email template in the custom module, This is the code I have used to add the template. <template> <email> <...
0
votes
0answers
24 views

Product name in Magento order confirmation email subject

(Magento 1) I'd like to add the name of the product in the order confirmation email subject. How do I do that?
0
votes
1answer
234 views

Magento 2 - How to add product image in order confirmation email ( without object manager )?

Below code is working fine for me... Step 1 : Before override Order confirmation email templates are genereted in below path root_folder/vendor/magento/module-sales/view/frontend/templates/email/...
0
votes
0answers
16 views

Order details sending customer gmail account

how to send order details in customer gmail account and How to Customized the new order template code version magento 1.9
1
vote
1answer
68 views

How to use Google fonts in email template

I'm working on email templates front end design, currently having problem in using google fonts, how can I embed or use google font in my email templates. I've added the google font this way: <...
0
votes
3answers
102 views

How to get the product image in invoice email template?

I have succeeded in getting the product image in the new order email template (<Vendor>/<Theme>/Magento_Sales/templates/email/items/order/default.phtml) using the following: <img src="&...
0
votes
0answers
26 views

Transactional Emails: Plugins giving issue for any var {{ }}

I may be looking for a plugin override to accomplish what I am looking for. For example, in the order_new.html email template there is this variable: {{var order.getShippingDescription()}} The ...
1
vote
0answers
16 views

Grid view in Email template not showing in Magento 2

I'm using Magento 2.2.6. In Email templates, I can't see the grid table. On the other page, the grid table is working fine. I tried to manually remove static content and deploy but not working.
0
votes
1answer
28 views

How to create customize the email templates in magento 2

I wish to add custom email templates for the following Welcome store email Password reset email Order confirmation email If I created, email template from backend, But how do I call ...
0
votes
0answers
32 views

how to get email sender list in magento 2 custom module

i want add this following contain in magento 2 custom module admin edit so how to get this using block
0
votes
1answer
43 views

Magento2: HTML tag is not working in custom email template

HTML tag is not working in the custom email template. HTML file {{template config_path="design/email/header_template"}} {{trans "Csr Name: %name" name=$data.csrname}} {{trans "Email: %email" email=$...
0
votes
1answer
146 views

How to add custom block link to email template and link hit from email to specific page? [closed]

How to add custom block link to email template and link hit from email to specific page?