Questions tagged [email-templates]

denotes a question about the Magento e-mail templates

This tag should be used to mark questions about adding/changing/removing/using e-mail templates.

897 questions
4
votes
2 answers

Magento 2 get list of email templates

I have added a new Magento 2 email template from Marketing->Communications->Email Templates. How do I get a list of them in my custom extension code? What class/model do I need to call to be able to get them all into an array, or at least load one…
user56885
  • 41
  • 1
  • 3
3
votes
3 answers

How to Manage Multilingual Mail Templates

We have a store for different countries that should use very similar mail templates. The logo - and of course - the texts have to be changed. Is there a way around copying all templates and assigning them in the backend for each mail type that is…
Alex
  • 13,817
  • 19
  • 82
  • 163
1
vote
1 answer

Magento transactional email template variables assigned are not used by template

I am trying to send custom email with some variables in it, but don't know what I am doing wrong in it here is my code : $emailTemplate = Mage::getModel('core/email_template'); $emailTemplate->loadByCode('custom_email_template'); …
Ahmed
  • 758
  • 2
  • 9
  • 29
1
vote
2 answers

In my custom confirmation email template password is not displaying

This is the what I receive as mail. Dear Abc, Welcome! Your e-mail has been verified. To log in to mysite.com just click Login or My Account at the top of every page, and then enter your e-mail address and password. Here’s a record of your account…
Shajitha Banu
  • 494
  • 8
  • 22
1
vote
2 answers

Mail gun is required for sending transaction emails in magento?

My client asked to integrate mailgun in magento.But I'm confident that magento is enough to send all mails with out any issue? Is there any extra advantage is there with mailgun over magento default transcation emails?
sivakumar
  • 267
  • 10
  • 35
  • 69
1
vote
1 answer

Send different transactional emails specific to cetain products

I would like to send confirmation emails that are different depending on which product (not product type) is purchased. I sell a small sampling of products online - currently 5... 3 are simple, 2 are downloadable. Aside from varying different…
sparecycle
  • 1,469
  • 3
  • 27
  • 50
1
vote
2 answers

understanding the email templates

I'm working with the email templates from system -> transactional emails. There is a call here that i don't understand. {{customVar code=PaymentInfoBox}} Can someone explain what actually happens here? I imagine it just tells it where to look for…
develophper
  • 2,214
  • 6
  • 32
  • 52
1
vote
2 answers

Replace SKU on transactional emails with Product ID

I have a requirement to replace the default value of SKU on all transactional emails with the products ID. The only way I have found to achieve this is to modify the files associated with these transactions, one example is to perform the following…
SR_Magento
  • 5,209
  • 13
  • 62
  • 103
1
vote
1 answer

What is substitute for Magento's transactional email {{skin}} in PHP?

I need to achieve this {{skin url="img/logo.png" _area="frontend" _package="my-package" _theme="default"}} via PHP. The reason is, rewriting email templates and extracting common templates of headers and footers into PHP part, leaving only text…
Marecky
  • 113
  • 6
1
vote
1 answer

How to check delivery method in e-mail template?

I have an extension in use in my Magento store to display various delivery methods during the checkout. In my email confirmation template is this piece of code:
Your delivery method:
Torben
  • 231
  • 3
  • 11
0
votes
1 answer

Dynamic code for logo src for use in email templates, possibly using short tags?

Please correct my terminology. Magento apparently allows "pseudo-code" like this in email templates (and elsewhere I suppose): {{htmlescape var=$order.getBillingAddress().getName()}} It mixes right in with the html to create dynamic output. Now, I…
Buttle Butkus
  • 1,318
  • 1
  • 16
  • 35
0
votes
1 answer

Removing product attributes from the order email

I have 3 attributes assigned to each product (size, color, logo). All of my products are configurable products thus each SKU contains the size, color, and logo along with the actual SKU for the product (they were auto-generated during the creation…
Tom Strain
  • 11
  • 3
0
votes
1 answer

Documentation for EMail templates

Can someone point me to documentation on the EMail templating / merge fields available in Magento? I seem to be missing many default templates and may have to build them myself, but would like to understand what fields are available for the…
MarkE
  • 1,479
  • 2
  • 17
  • 31
0
votes
2 answers

Shipping information in sales order email

Is it possible to replace the shippingDescription string in the order email templates for a custom phtml file to add a login functionality and a text that has to be translated with a custom language translator class.
Ste
  • 323
  • 1
  • 4
  • 11
0
votes
1 answer

Display customer_note in order confirmation email

I am using this code to display customer_note in order confirmation email: {{var order.getCustomerNote()|escape|nl2br}} But it does not show up in the email. I also checked the value of customer_note in sales_order table to make sure it's not…
Harry
  • 1
  • 1
1
2