Stack Exchange Network

Stack Exchange network consists of 174 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
1answer
14 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
7 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\...
0
votes
0answers
5 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 ...
1
vote
0answers
19 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
13 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
29 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
38 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
30 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
13 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
0answers
21 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
18 views

Magento 2 Email Templates css not working

Iam using Magento 2.17, In this iam working on Email Templates , When iam trying to add my custom css in "Template Styles" its not working Plase help me out this..... Thanks in advance....
0
votes
1answer
36 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
10 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
17 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 ...
4
votes
3answers
374 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
23 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
23 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
89 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
14 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
32 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
44 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
23 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
14 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
24 views

How to create customize the email templates in magento 2

I wish to add custom email templates for the following 1. Welcome store email 2. Password reset email 3. Order confirmation email If I created, email template from backend, But how do I call ...
0
votes
0answers
30 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
36 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
101 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?
0
votes
1answer
47 views

magento 2 dynamic value not comes in custom email template

I am trying to send dynamic value in my custom email template. I can send email with my custom template, but dynamic value not able to pass in that email. Here is my code for send email $...
0
votes
0answers
9 views

Magento transaction email login and button are transparent on icloud native mail

Is there something wrong with my code. <a href="{{var this.getUrl($store,'customer/account/createPassword',[_query:[id:$customer.id,token:$customer.rp_token],_nosid:1])}}" target="_blank">{{...
0
votes
1answer
27 views

Email template subjects in foreign language become question marks when saved

I have created and email template with Russian content. After entering the details and saved the email template, email template subject showing like "???? ????????????? ?????? {{var store....
0
votes
0answers
32 views

Pass array of data from email template to phtml in Magento 2.2.5

In magento 2.2.5, I need to pass data from mail template to phtml file. I did this using this link. But I cannot pass array of data in it. only text it is accepting. I am getting this error: Error ...
0
votes
0answers
15 views

Try to show my products in the sales mail

I'm trying to show my products in the sales e-mails. Sometimes the are there, but most of the time i see a Magento image. Someone now what i need to change? 1st image it doesn't work 2nd image it ...
1
vote
1answer
21 views

How to remove first few digits from order id using order id variable in email template

I am using a 3rd party plugin for order number customization and the format I am using is- {order id}-{counter}AB e.g. 1234-30000AB In the email template when I include order id variable it ...
0
votes
0answers
43 views

How can I send invoice PDF attached to the shipment email in Magento 2?

I need to attach the invoice pdf in the shipment email. How can I implement this?
0
votes
0answers
54 views

How to display an array in a email template (for-loop)?

I have an array : $foo = [ [ 'chocolate' => 'pure nature', 'number' => 10 ], [ 'chocolate' => 'praline', 'number' => 17 ], ]; and would like to display it in an ...
0
votes
0answers
40 views

How to add if -else condition in customer account confirmation email template in magento 2

how to add condition. $is_value=$this->getRequest()->getParam('is_value'); {{if $is_value="somthing"}} <p>Some text here.</p> {{else}} <p>Some another ...
0
votes
2answers
55 views

Magento 2 - How to use admin panel email template in my custom module?

I have created the custom module for customer registration request including an email function also. email function is working fine. I have customized the email template using Marketing -> ...
0
votes
0answers
24 views

Transactional Email variables not pulling through

We have recently done a data migration on our M1 site to our current Magento 2 development site. along with the migration, email templates have also been copied over. Email templates are now no ...
2
votes
1answer
58 views

From where magento 2 set Template Id for order email

I know already that in Magento 1 Directory app\code\core\Mage\Sales\Model\Order.php have code // Retrieve corresponding email template id and customer name if ($this->getCustomerIsGuest()) { ...
1
vote
1answer
389 views

Magento 2.2.5: Email Template Order Admin

I'm looking for explaination about email template in admin. As you can see, this button will send an email to my gmail account. And as far as i know, magento use order_new.html to render html to ...
0
votes
0answers
63 views

Magento2: Send Reset password link in custom email template

I want to send reset password link to customer in my Custom Module Email template.
2
votes
2answers
86 views

What is the meaning for area=“frontend” in email_templates.xml

Today I am checking the email_templates.xml and found 1 thing which is not getting me. <template id="customer_create_account_email_no_password_template" label="New Account Without Password" file="...
0
votes
1answer
66 views

Magento2 how to use foreach in email templates to send multiple items and customers information?

I want to send custom email.In that i have to display multiple customers and customers cart items.For that I have created a custom module.In that I have written model to get all the needed data.How ...
1
vote
1answer
125 views

Magento 2 Get Order Data In Order Email Confirmation Template

I have made a custom template to use in my order confirmation email template. I want to get the order data in this template so I can create a custom order grid layout. I'm not sure on how to do this?...
0
votes
1answer
21 views

Magento2: Custom email template from Admin

I am trying to send an email to the customer once it saves from the Admin. I have called my observer adminhtml_customer_save_after. Observer called but email template not working. my code is below. $...
1
vote
0answers
19 views

AheadWorks - Follow Up Email extension review event

I'm using Follow Up Email extension from AheadWorks. I wrote a rule to send a notification email when a user has submitted a review. What I'd want to achieve is to state name and sku of product for ...
1
vote
0answers
88 views

magento 2 custom email template image/logo not displayed

I am custom template for Magento 2 Created two new email template in admin backend order confirmation email template Shipment notification email template Both are sharing same header and footer ...
2
votes
2answers
104 views

How do i overwrite email/order/shipment/track.phtml

There is a core file named email/order/shipment/track.phtml in the theme base default. Now i have added a PHTML file to my own theme called ABC/Default and in the folder email/order/shipment/...
1
vote
0answers
35 views

Magento 2 displaying HOST name in sales email only

Magento 2 website Sales emails are showing hostname to customer i.e Apache. Recently we have upgraded Magento version to 2.2.5 but initially, it was working fine before the upgrade. Any suggestion?