Magento 2 Default logo on EmailHow do I add a customer's email to the sales invoice?Is it possible to have multiple sales email templates for one site?Some Transactional Email Templates Won't LoadMagento new order email going to customer but no copy sent to meorder_totals in sales email template being wrapped in a tableM 1.9.0.1 - path hints showing in order emailHow to change save path of PDF files in magento 2New Order Confirmation Email Not Being SentOverride model function Magento 2How to change the email template depending on shipping method?
Purpose of cylindrical attachments on Power Transmission towers
Can I get a photo of an Ancient Arrow?
What do you call the action of "describing events as they happen" like sports anchors do?
How (un)safe is it to ride barefoot?
Am I being scammed by a sugar daddy?
Part of my house is inexplicably gone
Print "N NE E SE S SW W NW"
Table with varying step
Must I use my personal social media account for work?
Undocumented incompatibility between changes and siunitx?
Was the Lonely Mountain, where Smaug lived, a volcano?
In Pandemic, why take the extra step of eradicating a disease after you've cured it?
Which are the methodologies for interpreting Vedas?
Must a CPU have a GPU if the motherboard provides a display port (when there isn't any separate video card)?
Why would a home insurer offer a discount based on credit score?
Parsing text written the millitext font
Can I attach a DC blower to intake manifold of my 150CC Yamaha FZS FI engine?
Am I allowed to determine tenets of my contract as a warlock?
How to represent jealousy in a cute way?
Class A Amplifier Design: Emitter Resistance Voltage Drop
New Site Design!
Someone who is granted access to information but not expected to read it
Why would a car salesman tell me not to get my credit pulled again?
Is it true that "only photographers care about noise"?
Magento 2 Default logo on Email
How do I add a customer's email to the sales invoice?Is it possible to have multiple sales email templates for one site?Some Transactional Email Templates Won't LoadMagento new order email going to customer but no copy sent to meorder_totals in sales email template being wrapped in a tableM 1.9.0.1 - path hints showing in order emailHow to change save path of PDF files in magento 2New Order Confirmation Email Not Being SentOverride model function Magento 2How to change the email template depending on shipping method?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have create observer which sends the email. The email is working file but the problem is with the logo. I have added the logo for the all email. All the emails including the sales order shows me the new logo which i updated. Only this one doesn't.
Here is my observer code
$enableEmail = $this->config->getGeneralConfig('email');
$ccEmail = explode(",",$this->config->getGeneralConfig('cc_email'));
$templateOptions = array(
'area' => MagentoFrameworkAppArea::AREA_FRONTEND,
'store' => MagentoStoreModelStore::DEFAULT_STORE_ID,
);
$fileName = "Order #".$orderId.".pdf";
$transport = $this->transportBuilder
->setTemplateIdentifier($template)
->setTemplateOptions
(
$templateOptions
)
->setTemplateVars($content)
->setFrom($sender)
->addTo($email)
->addAttachment($generated_file->render(), $fileName)
->addCc($ccEmail)
->getTransport();
$transport->sendMessage();
Here is the template header which is responsible to show logo.
template config_path="design/email/header_template"
The above code is there in sales order. But sales order show the correct logo.
magento2 magento-2.1 email email-templates
add a comment |
I have create observer which sends the email. The email is working file but the problem is with the logo. I have added the logo for the all email. All the emails including the sales order shows me the new logo which i updated. Only this one doesn't.
Here is my observer code
$enableEmail = $this->config->getGeneralConfig('email');
$ccEmail = explode(",",$this->config->getGeneralConfig('cc_email'));
$templateOptions = array(
'area' => MagentoFrameworkAppArea::AREA_FRONTEND,
'store' => MagentoStoreModelStore::DEFAULT_STORE_ID,
);
$fileName = "Order #".$orderId.".pdf";
$transport = $this->transportBuilder
->setTemplateIdentifier($template)
->setTemplateOptions
(
$templateOptions
)
->setTemplateVars($content)
->setFrom($sender)
->addTo($email)
->addAttachment($generated_file->render(), $fileName)
->addCc($ccEmail)
->getTransport();
$transport->sendMessage();
Here is the template header which is responsible to show logo.
template config_path="design/email/header_template"
The above code is there in sales order. But sales order show the correct logo.
magento2 magento-2.1 email email-templates
1
->addAttachment
is no vanilla magento functionality, maybe the extension you're using is wrong
– Philipp Sander
Jun 6 at 9:25
have you define’email_templates.xml
?
– Amit Bera♦
Jun 6 at 9:25
@AmitBera Yes..
– Avesh Naik
Jun 6 at 9:50
@PhilippSander i have commented the statement and checked. Still same problem.
– Avesh Naik
Jun 6 at 9:55
add a comment |
I have create observer which sends the email. The email is working file but the problem is with the logo. I have added the logo for the all email. All the emails including the sales order shows me the new logo which i updated. Only this one doesn't.
Here is my observer code
$enableEmail = $this->config->getGeneralConfig('email');
$ccEmail = explode(",",$this->config->getGeneralConfig('cc_email'));
$templateOptions = array(
'area' => MagentoFrameworkAppArea::AREA_FRONTEND,
'store' => MagentoStoreModelStore::DEFAULT_STORE_ID,
);
$fileName = "Order #".$orderId.".pdf";
$transport = $this->transportBuilder
->setTemplateIdentifier($template)
->setTemplateOptions
(
$templateOptions
)
->setTemplateVars($content)
->setFrom($sender)
->addTo($email)
->addAttachment($generated_file->render(), $fileName)
->addCc($ccEmail)
->getTransport();
$transport->sendMessage();
Here is the template header which is responsible to show logo.
template config_path="design/email/header_template"
The above code is there in sales order. But sales order show the correct logo.
magento2 magento-2.1 email email-templates
I have create observer which sends the email. The email is working file but the problem is with the logo. I have added the logo for the all email. All the emails including the sales order shows me the new logo which i updated. Only this one doesn't.
Here is my observer code
$enableEmail = $this->config->getGeneralConfig('email');
$ccEmail = explode(",",$this->config->getGeneralConfig('cc_email'));
$templateOptions = array(
'area' => MagentoFrameworkAppArea::AREA_FRONTEND,
'store' => MagentoStoreModelStore::DEFAULT_STORE_ID,
);
$fileName = "Order #".$orderId.".pdf";
$transport = $this->transportBuilder
->setTemplateIdentifier($template)
->setTemplateOptions
(
$templateOptions
)
->setTemplateVars($content)
->setFrom($sender)
->addTo($email)
->addAttachment($generated_file->render(), $fileName)
->addCc($ccEmail)
->getTransport();
$transport->sendMessage();
Here is the template header which is responsible to show logo.
template config_path="design/email/header_template"
The above code is there in sales order. But sales order show the correct logo.
magento2 magento-2.1 email email-templates
magento2 magento-2.1 email email-templates
asked Jun 6 at 9:10
Avesh NaikAvesh Naik
487114
487114
1
->addAttachment
is no vanilla magento functionality, maybe the extension you're using is wrong
– Philipp Sander
Jun 6 at 9:25
have you define’email_templates.xml
?
– Amit Bera♦
Jun 6 at 9:25
@AmitBera Yes..
– Avesh Naik
Jun 6 at 9:50
@PhilippSander i have commented the statement and checked. Still same problem.
– Avesh Naik
Jun 6 at 9:55
add a comment |
1
->addAttachment
is no vanilla magento functionality, maybe the extension you're using is wrong
– Philipp Sander
Jun 6 at 9:25
have you define’email_templates.xml
?
– Amit Bera♦
Jun 6 at 9:25
@AmitBera Yes..
– Avesh Naik
Jun 6 at 9:50
@PhilippSander i have commented the statement and checked. Still same problem.
– Avesh Naik
Jun 6 at 9:55
1
1
->addAttachment
is no vanilla magento functionality, maybe the extension you're using is wrong– Philipp Sander
Jun 6 at 9:25
->addAttachment
is no vanilla magento functionality, maybe the extension you're using is wrong– Philipp Sander
Jun 6 at 9:25
have you define
’email_templates.xml
?– Amit Bera♦
Jun 6 at 9:25
have you define
’email_templates.xml
?– Amit Bera♦
Jun 6 at 9:25
@AmitBera Yes..
– Avesh Naik
Jun 6 at 9:50
@AmitBera Yes..
– Avesh Naik
Jun 6 at 9:50
@PhilippSander i have commented the statement and checked. Still same problem.
– Avesh Naik
Jun 6 at 9:55
@PhilippSander i have commented the statement and checked. Still same problem.
– Avesh Naik
Jun 6 at 9:55
add a comment |
1 Answer
1
active
oldest
votes
Go to content -> Design -> Configuration
There is no of record on the basis of theme that are using. go to edit action for all records.
Then slelect the transactional email tabs. there u found logo images. Update this images that u want to display in email headers
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f277450%2fmagento-2-default-logo-on-email%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Go to content -> Design -> Configuration
There is no of record on the basis of theme that are using. go to edit action for all records.
Then slelect the transactional email tabs. there u found logo images. Update this images that u want to display in email headers
add a comment |
Go to content -> Design -> Configuration
There is no of record on the basis of theme that are using. go to edit action for all records.
Then slelect the transactional email tabs. there u found logo images. Update this images that u want to display in email headers
add a comment |
Go to content -> Design -> Configuration
There is no of record on the basis of theme that are using. go to edit action for all records.
Then slelect the transactional email tabs. there u found logo images. Update this images that u want to display in email headers
Go to content -> Design -> Configuration
There is no of record on the basis of theme that are using. go to edit action for all records.
Then slelect the transactional email tabs. there u found logo images. Update this images that u want to display in email headers
answered Jun 6 at 12:50
Shekhar SumanShekhar Suman
177115
177115
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f277450%2fmagento-2-default-logo-on-email%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
->addAttachment
is no vanilla magento functionality, maybe the extension you're using is wrong– Philipp Sander
Jun 6 at 9:25
have you define
’email_templates.xml
?– Amit Bera♦
Jun 6 at 9:25
@AmitBera Yes..
– Avesh Naik
Jun 6 at 9:50
@PhilippSander i have commented the statement and checked. Still same problem.
– Avesh Naik
Jun 6 at 9:55