Skip to main content

All Questions

Filter by
Sorted by
Tagged with
25 votes
1 answer
27k views

Depend and if/else in transaction emails in Magento 1

we are investigating some checks in our transactional emails or newsletters and looking at http://merch.docs.magento.com/ce/user_guide/store-operations/email-transactional.html where we find the code ...
snh_nl's user avatar
  • 5,452
13 votes
2 answers
16k views

Is there a way to add foreach loop in email template?

I am trying to trigger a mail to customer after they place an order. This email will carry all the cross sell products of the products ordered. I used the following links as reference: send email ...
Shathish's user avatar
  • 2,689
8 votes
3 answers
5k views

Display line in transactional e-mail if payment method is

I want to display a line only when the customer selects payment method checkout money order. When a customer select money order as payment method, I want to display a <li> additional line to the ...
JGeer's user avatar
  • 1,422
8 votes
3 answers
19k views

How to style transactional email with email-inline.css

I am using Magento 1.9.1. I want to customize my Magento Transactional Emails. To do so, I duplicated email-inline.css and email-non-inline.css from base package into my customized package (into this ...
ecmedia's user avatar
  • 81
6 votes
3 answers
27k views

Transactional Emails modification

How can i modify transactional mails in Magento? I want to change the email content. The emails are not listed in system->transactional emails list. I have checked app/code/locale too. But I ...
Praseetha's user avatar
  • 123
5 votes
2 answers
3k views

Create transactional email via install/upgrade script

How can I create transactional email templates via an install/upgrade script? I need them populated in Transactional Emails rather than having email templates available in the app/locale folder.
Francis Kim's user avatar
  • 2,973
4 votes
2 answers
2k views

Translation of product stock alert email

I have added translation in my locale folders and even loaded templates and assigned them in system config. Nothing seems to translate this email. When i look in the table product_alert_stock i also ...
Toon Van Dooren's user avatar
4 votes
3 answers
4k views

Conditional Content for Transactional Email Templates

I want to provide more relevant information to the customer in the "New Order" email template dependent on what method of payment was selected when placing the order. I implemented this method from ...
webbuddy's user avatar
4 votes
2 answers
6k views

How is it possible to add our company's VAT number to our customer's receipt emails?

I've done a bit of research into this, and checked various suggestions, but can't locate a simple way of inserting our company's VAT number into receipts for our customer's. We have our VAT number ...
MagentoMac's user avatar
  • 1,062
4 votes
1 answer
377 views

How to interpret @vars and other special comment blocks in email templates?

In email template files, there are these comments which obviously have some special meaning: <!--@subject @--> <!--@vars @--> <!--@styles @--> How does Magento interpret these ...
dsplynm's user avatar
  • 431
4 votes
1 answer
701 views

Get full SKU for configurable products with custom options in transactional emails

I try to get the full SKU for configurable products with custom options in transactional emails. By default this works great in the shopping cart. For example, I have a configurable product with SKU '...
Michael's user avatar
  • 591
3 votes
6 answers
9k views

Send Specific Email Depending On Payment Method (i.e. to include Bank Details)

I need to send a specific email if the customer selects a payment method. I will be using this for clients who wish to pay offline (Bank transfer) The email will inform them of our banking details.
Wessel's user avatar
  • 311
3 votes
2 answers
11k views

Magento 2 how to add if or else statement to email template?

I want to add an if or else statement to the invoice email template to check if the order shipping method is courier delivery order or self pick up order. How can I do this?
Ricky.C's user avatar
  • 2,182
3 votes
2 answers
1k views

layout handle not working in custom email

trying to send email programmaticaly with order items grid using {{layout handle="sales_email_order_items" order=$order}} but its not working. {{htmlescape var=$order.getCustomerName()}} show customer ...
Sandesh's user avatar
  • 1,649
3 votes
2 answers
2k views

M2: How to add store address to transactional email / invoice email?

In M1, our invoice email templates contained the store address: {{config path='general/store_information/address'}} In M2, this does not work, because store information / address is split into ...
hey's user avatar
  • 1,137
3 votes
2 answers
5k views

Adding transactional email template to transaction email list by custom module

Can somebody please explain the best practice to add a transactional email to the transactional email list that can be found in the backend at system->transactional emails ? I know that I need to ...
Celldweller's user avatar
3 votes
0 answers
472 views

Add customers order comment to 'Order Confirmation' transaction email

When the customer places an order on the frontend they have the ability to add a comment to their order. What i would like to do is add this comment to the transaction email 'Order Confirmation' I ...
James Fisher's user avatar
3 votes
0 answers
455 views

Use Mailchimp templates for Magento transactional emails

I am about to set up marketing automation and abandoned cart emails using Mailchimps integration for Magento. I would however like to align the design between the marketing emails from Mailchimp and ...
McKeene's user avatar
  • 501
2 votes
2 answers
6k views

Get customer first name on review request transactional email

I want to send a review request using the transaction emails. For this I use the official Mandrill extension for Magento. In this e-mail I want to get the customers first name. What {var} do I need ...
JGeer's user avatar
  • 1,422
2 votes
2 answers
484 views

Why is my helper not working

I'm trying to add a conditional check to my New Order email template by using a helper to determine which Group a customer belongs to. My helper is loading fine, but it seems like the helper doesn't ...
travisw's user avatar
  • 678
2 votes
1 answer
8k views

How can I change reply-to email adress of contact form when using transactional email template?

I am using a custom template for the contact form because I need a unique subject line for incoming contact form. I got that working by using a custom transactional email template. But now I came ...
Akif Gümüssu's user avatar
2 votes
1 answer
335 views

Wrong email body in transactional email

I'm using the contacts module to output different contactforms in different stores in a multishop environment. I insert my contact form like this: {{block type="core/template" name="contactForm" ...
Kevin Krieger's user avatar
2 votes
1 answer
384 views

Why is var customer.email not being populated in my Transactional Emails?

Simple question. I am adding the email address to the "New Order" template, but nothing is being populated. Why? I am simply passing Login: {{var customer.email}} I am passing in several other ...
travisw's user avatar
  • 678
2 votes
1 answer
2k views

Adding short_description to Send Product to a Friend transaction email template

I am looking for the code to include the product short description (short_description) to my customized Send Product to a Friend transnational email template. Here is what I have so far: <img src=...
JaySch's user avatar
  • 21
2 votes
1 answer
1k views

Magento transactional email for new order sometimes using wrong output block

In my new order email, i have the line: "layout area=\"frontend\" handle=\"sales_email_order_invoice_items\" invoice=$invoice order=$order":"Invoice Items Grid", The majority of the time the email ...
MagentoEmailSadness's user avatar
2 votes
1 answer
97 views

Not sending Transaction mail

I try to add Transaction mail but i am not getting any mail $template_id = 'my_custom_email'; // Who were sending to... $email_to = '[email protected]'; $customer_name = $name; // ...
Magento 2's user avatar
  • 3,834
2 votes
1 answer
583 views

Transactional emails if conditions discrepancy

Trying to set different text for registered and guest customers order confirmation email (using single template, not sure why Magento has two different settings for this?) I've come across that {{if ...
Zifius's user avatar
  • 1,218
2 votes
0 answers
1k views

How to use if else statement in email subject

I have been trying to check a condition on subject section of magento's transactional email. I'm trying to display order status on subject except for pending. This is what i have tried so far. {{if ...
passion's user avatar
  • 155
2 votes
1 answer
760 views

Magento 2, how to do getViewFileUrl in html file

In phtml file I use <img src='<?php echo $this->getViewFileUrl('images/logo.png'); ?>' How to do same in html file ?
Zinat's user avatar
  • 2,079
2 votes
0 answers
340 views

Transactional Emails {Error in template processing}

We have a problem with our transactional emails in Magento they are including {Error in template processing} in the header and the footer. I think this was caused since we updated Magento from 1.7 to ...
Hayden's user avatar
  • 21
2 votes
1 answer
2k views

How to send diffrent order emails to admin and customer?

I would like to send different emails to both customer and admin. I have two email templates New Order and Admin Order. And I am setting the template on System->Configuration->Sales->Sales ...
Vinod VT's user avatar
  • 131
1 vote
2 answers
4k views

How can an extension add transactional email variables? (available in email templates)

suppose an extension that does something to an order. Special shipping. Or maybe blue ribbon packaging. How can this extension make available some new transactional email variables that are ...
snh_nl's user avatar
  • 5,452
1 vote
2 answers
2k views

Magento Different Transactional Emails Per Store View

I am looking to have different Transaction Emails per Store View (or even just per website). In particular, I would like to have different Newsletter Subscription Success emails. I have created a new ...
Phil Stewart's user avatar
1 vote
1 answer
5k views

Magento {{depend}} combined with {{config path='some/value/here'}}

we are using the {{depend}} functionality to check for true on a system config variable But now we are running into the following. Can I combine these special {{}} tags within each other? For example ...
snh_nl's user avatar
  • 5,452
1 vote
2 answers
1k views

Magento 1.9 check if order got shipment

I want to load a specific block in the transactional email only when the order is shipped. I want to load the block, buy using the following code: {{block type='core/template' area='frontend' ...
JGeer's user avatar
  • 1,422
1 vote
5 answers
3k views

How to add backorder message to transactional emails

I want to add extra information in a transactional email when the order has a product which is backordered. I know where and how to edit the email templates following this guide: http://www....
Akif's user avatar
  • 1,551
1 vote
1 answer
4k views

How to add customer name and subscription email in transactional email template of invoice and newsletter

I want to add a new newsletter and invoice email template, I did this through a Transactional email from Magento admin section. In newsletter template I want --> subscription email In Invoice email ...
konika's user avatar
  • 579
1 vote
1 answer
1k views

How to get current custom transactional email template ID

I'm making some changes on the following file: app/design/frontend/base/default/template/email/order/items/order/default.phtml and what I need is to check if there's a custom trasactional email ...
zekia's user avatar
  • 660
1 vote
2 answers
767 views

Different Invoice/Order Emails for same Transactional Email template

I created a custom Transactional Email for Order and Invoice. To list the items that were ordered I use this call {{layout handle="sales_email_order_items" order=$order}} I customized it while making ...
user3432078's user avatar
1 vote
1 answer
527 views

Display Customer Email, Customer Phone, Product Name, Product SKU in email template in magento 1.9

I need to display Customer Email, Customer Phone, Product Name, Product SKU in order email. {{template config_path="design/email/header"}} {{inlinecss file="email-inline.css"}} <p><...
BathiyaD's user avatar
1 vote
1 answer
60 views

Loading transactional emails

I am looking for (and am so far unable to find) a way to load all the transactional email templates in Magento 1. Is there a way to do this? I don't want to load a single one, I need to load them all ...
Skytiger's user avatar
  • 511
1 vote
1 answer
698 views

How to Add Condition Check to Determine which Template will be used in Transactional Emails?

I am trying to modify my email template to generate different product information based on customer group. As in, if a customer belongs to Group A, load modified.phtml, else load default.phtml. ...
travisw's user avatar
  • 678
1 vote
2 answers
3k views

Transactional email templates not loading

When I attempt to "Add New Template" for a transactional email, select a 'template' from the list, then click 'Load Template' nothing is loaded in the templtae form. I expected there would be a ...
MarkE's user avatar
  • 1,479
1 vote
1 answer
584 views

Where to find the file that generates the custom options in a new order email?

I want to find the file that generates the highlighted area. I have tried order_new_guest.html which is located in app/locale/en_US/template/email/sale But it only shows the 4 table areas above the ...
zak's user avatar
  • 107
1 vote
1 answer
408 views

How to add Gmail goto action script to new shipment email?

I'm added a tracking link to New Shipment Email which will take customer to order tracking url. But I now have a requirement to utilize the Google's goto action for this purpose, so that customer ...
Shathish's user avatar
  • 2,689
1 vote
1 answer
530 views

Customize Transactional Emails - Get part of an order

I'm trying to customize the transactional emails for new Order and new Invoice. For "New Invoice" I want to show something like this For your Order from (date without time in european format) you ...
user3432078's user avatar
1 vote
0 answers
979 views

Add transactional email template programmatically

I'm looking to add an email template to make it available in the transactional emails templates list in back office. I'm a newbie to magento 2 and a huge newbie to magento 1. My project is under V1....
Minirock's user avatar
  • 111
1 vote
0 answers
183 views

How to add custom text to all email templates?

I want to add a custom text input field to admin/Marketing/Email templates/Add New Template. This new text input should save it's value to the current email template content which I am creating. I ...
Rufus's user avatar
  • 631
1 vote
1 answer
918 views

Magento 2 : Add Additional Cart Item Notice to Transactional Emails (Out of stock notice)

I am relatively new to Magento and am developing a site on version 2.2.5. I am trying to figure out how to display the cart item message notice in the transactional email. This is the notice that is ...
Parker Braamse's user avatar