Questions tagged [transactional-mail]

The tag covers transactional emails and everything directly related to it such as invoices, orders and variables used in the emails as well as the formatting and configuration of these emails. See also: email-templates

117 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
690 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 '...
3
votes
1answer
425 views

Get current receiver email in the transactional template

Here is my code: $mailData = array( 'data' => $data ); $emailTemplate = Mage::getModel('core/email_template')->loadByCode('templateName'); $emailTemplate->setSenderEmail(Mage::...
3
votes
0answers
355 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 ...
2
votes
1answer
1k views

(Solved) Magento 2, Add product image in all transaction emails(shipment, invoice, credit memo)

I have managed to add products images in new order email using this solution: Magento 2 product image in new order email Unfortunately this piece of code is not working for other transactional emails:...
2
votes
0answers
799 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 ...
2
votes
1answer
537 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 ?
2
votes
0answers
410 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 ...
2
votes
0answers
318 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 ...
2
votes
1answer
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 ...
2
votes
1answer
533 views

Set transcriptional temaplate for SMTP emails in Magento 2

I want to send email using SMTP in Magento2 I tried following code public function execute() { $smtpHost = '***.*****.***'; $to = 'email.com' ? 'email.com' : 'test'; $smtpConf = ...
2
votes
1answer
2k views

Calling custom Block in the transactional emails

This is how I call a custom phtml file in the trans.email content: {{block type='core/template' area='frontend' template='foldername/myfile.phtml' order=$order}} and its working perfect. But I want ...
2
votes
1answer
201 views

Transactional Emails: Delivery Address - Company Name missing

Whenever we send delivery confirmation emails to customers who have specified a company name in their shipping address, the company name won't show up in the email. Quite a few customers then get ...
2
votes
0answers
1k views

Magento Send Transaction Email Template to PDF as Attachment

I can successfully send email with Transaction Email Template but i am not able to convert Transaction Email Template into pdf and send it as attachment in the same email. Any one can help to ...
2
votes
0answers
291 views

How to include items in credit memo transactional email

It seems that the product level items aren't available in the Magento credit memo transactional email, nor is a balance displayed - it gets you to login via My Account to view it. Is there a reason ...
1
vote
0answers
10 views

Use custom mail address when sending transaction mails?

Magento 1.9 This is my code: $mailTemplate->setDesignConfig(array('area' => 'frontend')) ->setReplyTo($post['email']) ->sendTransactional( ...
1
vote
0answers
54 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....
1
vote
0answers
14 views

How define total amounts showed in transactions mails

We have all the prices setup including VAT. Right now in the transactional Mails we get the following output: Subtotal USD 50.00 Shipping & Handling USD 5.00 Total (exkl. VAT) USD ...
1
vote
0answers
46 views

Why my Magento just send order emails using the Send Email button?

I have my cron configured, but my order emails are sent just when I click on the Send Email button. How could I have my emails send via schedule?
1
vote
0answers
14 views

How to schedule a transactional email locally?

I want to test any transactional email by a schedule in my local environment. How could I do that in my local?
1
vote
0answers
17 views

Which emails are send by schedule?

I'm having some emails been sent by my Magento 2, and others not, I'm suspecting that the Magento has sent just the transactional emails sent immediately, not the emails by cron schedule, even with my ...
1
vote
1answer
46 views

variable from CREDIT MEMO transactional email

Credit Memo # {{var creditmemo.increment_id}} for Order # {{var order.increment_id}} Does someone know what file do these variables come from? I need to add functions and variables but I don't ...
1
vote
0answers
23 views

How to add Payment method information in Gift message in Transactional email?

We want to add payment method information in to Gift message section in transactional mail. Any one help me for set this in my magento 1.9 site.
1
vote
2answers
237 views

Magento 2.3: How to attach a pdf file with new order mail?

I am using magento 2.3.1 I need to send a pdf with new order mail, I have already done that for magento 2.2.6 but that is not working with 2.3. Can any one help me with this?
1
vote
0answers
101 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 ...
1
vote
1answer
84 views

magento 2 logo image cant upload

Hi I'm facing trouble in uploading the logo image in the transaction email section using admin back-end, it is still showing the previous one but with some block and the resolution showed "x". May I ...
1
vote
0answers
146 views

Payment Method's name is not displaying in Magento 1.9

In checkout process when one of payment method is clicked the calculation and everything working fine but in the progress bar the method name is absent(ex. Pay on Delivery, Pay on Card). It's absent ...
1
vote
0answers
119 views

Magento 1: Add custom attribute in transactional e-mail

In transactional mail, I need to add a custom attribute. I modified the below files app/design/frontend/base/default/template/email/order/items/order/default.phtml app/design/frontend/base/default/...
1
vote
1answer
516 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 ...
1
vote
0answers
84 views

Magento 2 email sender differences

I'm using Magento 2.2.4 and I'm having some issues with email. I posted a whole long thing about all my issues here, but I've since narrowed down the scope of this. I can't use SMTP extensions, such ...
1
vote
0answers
16 views

Transactional email footer icons are not displaying as a row in mobile view

I have used the html table to create the footer for Transaction email. I'm getting an expected view(Horizontal)in desktop view but vertical in mobile view. Below is the code i have used to create ...
1
vote
0answers
129 views

Magento 1.9.2.2 Back in stock alert emails are shown as sent on the backend but are not being received

I am using Magento 1.9.2.2 and I am having trouble with back in stock alert emails. The basis of the problem is that all indicators on the backend say that the emails are being sent but they are ...
1
vote
0answers
26 views

Transactional Email: What to put in Template Content

I have created a custom form, named careersForm.phtml. I have customized my fields. The problem is it does not send to the email because of different fields. I have found out that it should be done in ...
1
vote
0answers
257 views

Send email with attachment (1.9.3.4)

For various reasons I am currently forced to work in: /app/code/local/Mage/Sales/Order.php I know it's not ideal, but it's required at the moment. in public function queueNewOrderEmail, I am looking ...
1
vote
1answer
685 views

Magento 2 : Load Roboto font in custom email template

I want to load Roboto font in the custom email template.If load fonts from admin transactional email styles it displays properly in preview but can not load in an email. Import code : @import url('...
1
vote
1answer
528 views

Magento 1.9 sendTransactional doesn't show value from {{var payment_html}}

I'm using sendTransactional() to send emails programmatically. All working fine beside the variable {{var payment_html}} is empty. How to pass this value? below is the code I'm using now. private ...
1
vote
1answer
685 views

Transactional email not translated for programmatically created invoice, shipping

Order emails are correct, but my invoice and shipping emails are not fully translated. Some fields are correct: billing/shipping address titles payment method title But some get not translated: ...
1
vote
0answers
35 views

Order Confirmation email intermittent totals alignment issue

Recently our order confirmation emails have started to have an issue. Intermittently we will have an email where the Subtotal, Shipping, Discount and Grand Total will align left instead of right. I ...
1
vote
0answers
192 views

Transactional Email

Logo on transactional emails are showing default logo. I have tried your change in back end and file manager on c panel. Anyone know what to do? Below is taken from email template header. Is there ...
1
vote
1answer
3k views

Magento 2, How to include unsubscribe link in transaction email

Is there a out-of-the-box way of including an unsubscribe link in transactional emails inside of Magento 2? I tried utilizing: <a href="{{var subscriber.getUnsubscriptionLink()}}"> {{var ...
1
vote
0answers
1k views

How to add static blocks to transactional emails?

I have been looking around on how to add a static block into the transactional emails. I found the solution on github here: https://gist.github.com/mkdizajn/6351957 The regular way to add a static ...
1
vote
1answer
100 views

Magento Transactional E-mails sent, except NEW ORDER e-mail

I have read the following solutions, but all of these seems not to work for my case: New order email confirmation not being sent Magento 1.9.2 not sending new order confirmation emails New Order ...
1
vote
0answers
121 views

Magento transactional email header

When I send a transactional email from Magento 1.9.2.4, some people first see a wrong type of header. They first see the following and after that the right email. How can I solve this and/or edit ...
1
vote
2answers
599 views

Variable for “Sales Representative” in Email Templates

In all the email templates, I have: {{depend store_email}} <b>Email:</b> <a href="mailto:{{var store_email}}">{{var store_email}}</a> {{/depend}} However, this is ...
1
vote
1answer
336 views

Transactional Email - Difference between backend and files

I have a question about transactional emails I ever modified it from backend at System -> Transactional Email and it works perfectly! Just for fun, I searched into my directories and I found ...
1
vote
1answer
796 views

Template Styles not working for magento custom transactional email template

I have created a custom transactional email template and added event in my custom module to send email using this transactional template. When I add Template Styles in template it is working on ...
1
vote
1answer
326 views

Magento2: How can I fetch the email transaction grid collection in my custom extension?

I am working on one custom module and I need to fetch the transactional email templates grid which is at Marketing > email templates in magento 2 default. I need that grid in my custom extension, how ...
1
vote
2answers
967 views

Showing all Custom Options on Transactional Emails

I want to show all custom options (even not selected ones) on order emails. And I want to strikeout unselected ones. I think I need to work on /app/design/frontend/XXX/YYY/template/sales/order/items/...
1
vote
1answer
360 views

How to add store address to invoice email

We would like to show the store's address at the top of the invoice email which is sent to customers when they place an order. Specifically, I would like to insert the value from the Invoice and ...
1
vote
0answers
311 views

How to queue “New Order” email before “New Invoice” email?

I'm working on a Magento CE 1.9.2.2 install. The cron is setup and all emails are being sent. Now when a customer completes an order and returns to the success page after making the payment he/she ...
1
vote
1answer
432 views

Magento 1.9 Transactional Email 'Add New Template' Page Error

I've recently upgraded from Magento 1.7 to 1.9. Everything appears to work fine except one thing. When I try to create email template from System > Transnational Emails > Add New Template, the ...