which phtml file is use for New Order Confirmation Template for Guest/Seller?Change Order Confirmation Email For Specific OrdersHow to add email in cc for order confirmation email template?Magento2 - Command-Line - Sending Email Using Block Templates - Error: Missing required argument $debugHintsPathMagento 2 phtml file not called in email template fileHow to add product url and thumbnail in order-confirmation mailHow to modify the css for New Order Confirmation Template?Send custom order email to vendor in magento 2NOINDEX,NOFOLLOW for specific template (phtml) file?Sending order confirmation email template in Magento 2Magento 2 - Include Customizable Options in Email Template
Why did Intel abandon unified CPU cache?
Live action TV show where High school Kids go into the virtual world and have to clear levels
Does Google Sheets allow moving a chart to its own sheet?
Neat redistribution of association values
Can the removal of a duty-free sales trolley result in a measurable reduction in emissions?
How to hide rifle during medieval town entrance inspection?
Is it possible to have 2 different but equal size real number sets that have the same mean and standard deviation?
What are neighboring ports?
Should I refuse being named as co-author of a bad quality paper?
Why am I getting a strange double quote (“) in Open Office instead of the ordinary one (")?
Extreme flexible working hours: how to get to know people and activities?
What would be the way to say "just saying" in German? (Not the literal translation)
A map of non-pathological topology?
Is it possible to fly backward if you have really strong headwind?
Did Apple bundle a specific monitor with the Apple II+ for schools?
How to learn Linux system internals
Is there a DSLR/mirorless camera with minimal options like a classic, simple SLR?
I've been given a project I can't complete, what should I do?
Russian word for a male zebra
Draw a line with an isolated and accumulation point in mathbbR
How to communicate to my GM that not being allowed to use stealth isn't fun for me?
Fermat's statement about the ancients: How serious was he?
Do ailerons on opposite wings move together?
Why am I Seeing A Weird "Notch" on the Data Line For Some Logical 1s?
which phtml file is use for New Order Confirmation Template for Guest/Seller?
Change Order Confirmation Email For Specific OrdersHow to add email in cc for order confirmation email template?Magento2 - Command-Line - Sending Email Using Block Templates - Error: Missing required argument $debugHintsPathMagento 2 phtml file not called in email template fileHow to add product url and thumbnail in order-confirmation mailHow to modify the css for New Order Confirmation Template?Send custom order email to vendor in magento 2NOINDEX,NOFOLLOW for specific template (phtml) file?Sending order confirmation email template in Magento 2Magento 2 - Include Customizable Options in Email Template
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
i have created and implemented the code to call product thumbnail and product url for "New Order Confirmation Template" thats is use for customers.my code is below
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$product = $objectManager->create('MagentoCatalogModelProduct')->load($_item->getProduct()->getId());
$imagewidth=30;
$imageheight=30;
//$_product = $objectManager->get('MagentoCatalogModelProduct')->load($_item->getProductId());
$imageHelper = $objectManager->get('MagentoCatalogHelperImage');
$image_url = $imageHelper->init($product, 'product_page_image_small')->setImageFile($product->getFile())->resize($imagewidth, $imageheight)->getUrl();
<div class="product-name"><a href="<?= $_item->getProduct()->getProductUrl(); ?>"> <?= $block->escapeHtml($_item->getName()) ?></a></div>
<div class="sku"><?= /* @escapeNotVerified */ __('SKU'); ?>: <?= $block->escapeHtml($block->getSku($_item)) ?></div>
<div class="sku"><a href="<?= $_item->getProduct()->getProductUrl(); ?>"> <img src="<?= $image_url?>"></a></div>
This is my code which iam using in module-sales/view/frontend/templates/email/items/order in default.html. now this template get called in module-sales/view/frontend/templates/email
items.phtml to call default.phtml contents.
now my query is when i order something this customized mail along with product thumbnail and product url is going to customers but its not going to seller.
now what i have done is create an email template via sales configuration and callingthe same items.phtml block as below
Thank youconfig path="trans_email/ident_custom1/name" for your order.
block class="MagentoFrameworkViewElementTemplate" order=$order name="order_sms" template="module_sales::items.phtml" area="frontend"
when iam seeing my customized mail iam getting only
Thank youCustom 1 for your order. and the block which i have mentioned at top is not reflecting. what is the issue and can please any body tell me what default email template is use to send out to new guest so that i can customize it accordingly confused.
sales-order email-templates phtml order-email magento-2.1.3
add a comment |
i have created and implemented the code to call product thumbnail and product url for "New Order Confirmation Template" thats is use for customers.my code is below
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$product = $objectManager->create('MagentoCatalogModelProduct')->load($_item->getProduct()->getId());
$imagewidth=30;
$imageheight=30;
//$_product = $objectManager->get('MagentoCatalogModelProduct')->load($_item->getProductId());
$imageHelper = $objectManager->get('MagentoCatalogHelperImage');
$image_url = $imageHelper->init($product, 'product_page_image_small')->setImageFile($product->getFile())->resize($imagewidth, $imageheight)->getUrl();
<div class="product-name"><a href="<?= $_item->getProduct()->getProductUrl(); ?>"> <?= $block->escapeHtml($_item->getName()) ?></a></div>
<div class="sku"><?= /* @escapeNotVerified */ __('SKU'); ?>: <?= $block->escapeHtml($block->getSku($_item)) ?></div>
<div class="sku"><a href="<?= $_item->getProduct()->getProductUrl(); ?>"> <img src="<?= $image_url?>"></a></div>
This is my code which iam using in module-sales/view/frontend/templates/email/items/order in default.html. now this template get called in module-sales/view/frontend/templates/email
items.phtml to call default.phtml contents.
now my query is when i order something this customized mail along with product thumbnail and product url is going to customers but its not going to seller.
now what i have done is create an email template via sales configuration and callingthe same items.phtml block as below
Thank youconfig path="trans_email/ident_custom1/name" for your order.
block class="MagentoFrameworkViewElementTemplate" order=$order name="order_sms" template="module_sales::items.phtml" area="frontend"
when iam seeing my customized mail iam getting only
Thank youCustom 1 for your order. and the block which i have mentioned at top is not reflecting. what is the issue and can please any body tell me what default email template is use to send out to new guest so that i can customize it accordingly confused.
sales-order email-templates phtml order-email magento-2.1.3
so i want to add product thumbnail and product url in order_new_guest.html. how to achieve that sir? earlier you have told me about adding same coding in default.phtml and it worked but only for customer. how to add same thing in order_new_guest.html ?so that product thumbnail and product url is visible to seller also
– Yogesh Raghav
Feb 24 '17 at 5:53
add a comment |
i have created and implemented the code to call product thumbnail and product url for "New Order Confirmation Template" thats is use for customers.my code is below
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$product = $objectManager->create('MagentoCatalogModelProduct')->load($_item->getProduct()->getId());
$imagewidth=30;
$imageheight=30;
//$_product = $objectManager->get('MagentoCatalogModelProduct')->load($_item->getProductId());
$imageHelper = $objectManager->get('MagentoCatalogHelperImage');
$image_url = $imageHelper->init($product, 'product_page_image_small')->setImageFile($product->getFile())->resize($imagewidth, $imageheight)->getUrl();
<div class="product-name"><a href="<?= $_item->getProduct()->getProductUrl(); ?>"> <?= $block->escapeHtml($_item->getName()) ?></a></div>
<div class="sku"><?= /* @escapeNotVerified */ __('SKU'); ?>: <?= $block->escapeHtml($block->getSku($_item)) ?></div>
<div class="sku"><a href="<?= $_item->getProduct()->getProductUrl(); ?>"> <img src="<?= $image_url?>"></a></div>
This is my code which iam using in module-sales/view/frontend/templates/email/items/order in default.html. now this template get called in module-sales/view/frontend/templates/email
items.phtml to call default.phtml contents.
now my query is when i order something this customized mail along with product thumbnail and product url is going to customers but its not going to seller.
now what i have done is create an email template via sales configuration and callingthe same items.phtml block as below
Thank youconfig path="trans_email/ident_custom1/name" for your order.
block class="MagentoFrameworkViewElementTemplate" order=$order name="order_sms" template="module_sales::items.phtml" area="frontend"
when iam seeing my customized mail iam getting only
Thank youCustom 1 for your order. and the block which i have mentioned at top is not reflecting. what is the issue and can please any body tell me what default email template is use to send out to new guest so that i can customize it accordingly confused.
sales-order email-templates phtml order-email magento-2.1.3
i have created and implemented the code to call product thumbnail and product url for "New Order Confirmation Template" thats is use for customers.my code is below
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$product = $objectManager->create('MagentoCatalogModelProduct')->load($_item->getProduct()->getId());
$imagewidth=30;
$imageheight=30;
//$_product = $objectManager->get('MagentoCatalogModelProduct')->load($_item->getProductId());
$imageHelper = $objectManager->get('MagentoCatalogHelperImage');
$image_url = $imageHelper->init($product, 'product_page_image_small')->setImageFile($product->getFile())->resize($imagewidth, $imageheight)->getUrl();
<div class="product-name"><a href="<?= $_item->getProduct()->getProductUrl(); ?>"> <?= $block->escapeHtml($_item->getName()) ?></a></div>
<div class="sku"><?= /* @escapeNotVerified */ __('SKU'); ?>: <?= $block->escapeHtml($block->getSku($_item)) ?></div>
<div class="sku"><a href="<?= $_item->getProduct()->getProductUrl(); ?>"> <img src="<?= $image_url?>"></a></div>
This is my code which iam using in module-sales/view/frontend/templates/email/items/order in default.html. now this template get called in module-sales/view/frontend/templates/email
items.phtml to call default.phtml contents.
now my query is when i order something this customized mail along with product thumbnail and product url is going to customers but its not going to seller.
now what i have done is create an email template via sales configuration and callingthe same items.phtml block as below
Thank youconfig path="trans_email/ident_custom1/name" for your order.
block class="MagentoFrameworkViewElementTemplate" order=$order name="order_sms" template="module_sales::items.phtml" area="frontend"
when iam seeing my customized mail iam getting only
Thank youCustom 1 for your order. and the block which i have mentioned at top is not reflecting. what is the issue and can please any body tell me what default email template is use to send out to new guest so that i can customize it accordingly confused.
sales-order email-templates phtml order-email magento-2.1.3
sales-order email-templates phtml order-email magento-2.1.3
asked Feb 24 '17 at 5:10
Yogesh RaghavYogesh Raghav
671210
671210
so i want to add product thumbnail and product url in order_new_guest.html. how to achieve that sir? earlier you have told me about adding same coding in default.phtml and it worked but only for customer. how to add same thing in order_new_guest.html ?so that product thumbnail and product url is visible to seller also
– Yogesh Raghav
Feb 24 '17 at 5:53
add a comment |
so i want to add product thumbnail and product url in order_new_guest.html. how to achieve that sir? earlier you have told me about adding same coding in default.phtml and it worked but only for customer. how to add same thing in order_new_guest.html ?so that product thumbnail and product url is visible to seller also
– Yogesh Raghav
Feb 24 '17 at 5:53
so i want to add product thumbnail and product url in order_new_guest.html. how to achieve that sir? earlier you have told me about adding same coding in default.phtml and it worked but only for customer. how to add same thing in order_new_guest.html ?so that product thumbnail and product url is visible to seller also
– Yogesh Raghav
Feb 24 '17 at 5:53
so i want to add product thumbnail and product url in order_new_guest.html. how to achieve that sir? earlier you have told me about adding same coding in default.phtml and it worked but only for customer. how to add same thing in order_new_guest.html ?so that product thumbnail and product url is visible to seller also
– Yogesh Raghav
Feb 24 '17 at 5:53
add a comment |
1 Answer
1
active
oldest
votes
This is path of email template magento-slaes/view/frontend/email/order_new_guest.html
the difference between the layout handles
order_new_guest
layout handle="sales_email_order_items" order=$order
order_new
layout handle="sales_email_order_items" order=$order area="frontend"
Now adding the are in gues template and then check area="frontend"
layout handle="sales_email_order_items" order=$order area="frontend"
so i want to add product url & product thumbail in that so that seller can see the same.how to ahieve this sir?ealier i have done in default.phtml and it worked but how to achieve the same using html file? i want to show same product thumbnail and product url in the email template goes to seller
– Yogesh Raghav
Feb 24 '17 at 5:55
@YogeshRaghav i added the possible solution for that
– Qaisar Satti
Feb 24 '17 at 5:56
where i suppose to add this code sir? in email-template content or directly in order_new_guest.html nad where to place it sir?
– Yogesh Raghav
Feb 24 '17 at 6:03
@YogeshRaghav yes change in the template html file and check the output
– Qaisar Satti
Feb 24 '17 at 6:04
sir i have changed the template as u said but seller is not getting the same email.product link and images are missing in that email. i have registered as seller ,assigned product and tried my self but as a customer i got email along with product link and images but when i logged in my emiam as a seller iam not getting mail along with images and product url. where is the issue sir?
– Yogesh Raghav
Feb 24 '17 at 11:42
|
show 23 more comments
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%2f161573%2fwhich-phtml-file-is-use-for-new-order-confirmation-template-for-guest-seller%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
This is path of email template magento-slaes/view/frontend/email/order_new_guest.html
the difference between the layout handles
order_new_guest
layout handle="sales_email_order_items" order=$order
order_new
layout handle="sales_email_order_items" order=$order area="frontend"
Now adding the are in gues template and then check area="frontend"
layout handle="sales_email_order_items" order=$order area="frontend"
so i want to add product url & product thumbail in that so that seller can see the same.how to ahieve this sir?ealier i have done in default.phtml and it worked but how to achieve the same using html file? i want to show same product thumbnail and product url in the email template goes to seller
– Yogesh Raghav
Feb 24 '17 at 5:55
@YogeshRaghav i added the possible solution for that
– Qaisar Satti
Feb 24 '17 at 5:56
where i suppose to add this code sir? in email-template content or directly in order_new_guest.html nad where to place it sir?
– Yogesh Raghav
Feb 24 '17 at 6:03
@YogeshRaghav yes change in the template html file and check the output
– Qaisar Satti
Feb 24 '17 at 6:04
sir i have changed the template as u said but seller is not getting the same email.product link and images are missing in that email. i have registered as seller ,assigned product and tried my self but as a customer i got email along with product link and images but when i logged in my emiam as a seller iam not getting mail along with images and product url. where is the issue sir?
– Yogesh Raghav
Feb 24 '17 at 11:42
|
show 23 more comments
This is path of email template magento-slaes/view/frontend/email/order_new_guest.html
the difference between the layout handles
order_new_guest
layout handle="sales_email_order_items" order=$order
order_new
layout handle="sales_email_order_items" order=$order area="frontend"
Now adding the are in gues template and then check area="frontend"
layout handle="sales_email_order_items" order=$order area="frontend"
so i want to add product url & product thumbail in that so that seller can see the same.how to ahieve this sir?ealier i have done in default.phtml and it worked but how to achieve the same using html file? i want to show same product thumbnail and product url in the email template goes to seller
– Yogesh Raghav
Feb 24 '17 at 5:55
@YogeshRaghav i added the possible solution for that
– Qaisar Satti
Feb 24 '17 at 5:56
where i suppose to add this code sir? in email-template content or directly in order_new_guest.html nad where to place it sir?
– Yogesh Raghav
Feb 24 '17 at 6:03
@YogeshRaghav yes change in the template html file and check the output
– Qaisar Satti
Feb 24 '17 at 6:04
sir i have changed the template as u said but seller is not getting the same email.product link and images are missing in that email. i have registered as seller ,assigned product and tried my self but as a customer i got email along with product link and images but when i logged in my emiam as a seller iam not getting mail along with images and product url. where is the issue sir?
– Yogesh Raghav
Feb 24 '17 at 11:42
|
show 23 more comments
This is path of email template magento-slaes/view/frontend/email/order_new_guest.html
the difference between the layout handles
order_new_guest
layout handle="sales_email_order_items" order=$order
order_new
layout handle="sales_email_order_items" order=$order area="frontend"
Now adding the are in gues template and then check area="frontend"
layout handle="sales_email_order_items" order=$order area="frontend"
This is path of email template magento-slaes/view/frontend/email/order_new_guest.html
the difference between the layout handles
order_new_guest
layout handle="sales_email_order_items" order=$order
order_new
layout handle="sales_email_order_items" order=$order area="frontend"
Now adding the are in gues template and then check area="frontend"
layout handle="sales_email_order_items" order=$order area="frontend"
edited Feb 24 '17 at 5:56
answered Feb 24 '17 at 5:53
Qaisar SattiQaisar Satti
27.2k1261110
27.2k1261110
so i want to add product url & product thumbail in that so that seller can see the same.how to ahieve this sir?ealier i have done in default.phtml and it worked but how to achieve the same using html file? i want to show same product thumbnail and product url in the email template goes to seller
– Yogesh Raghav
Feb 24 '17 at 5:55
@YogeshRaghav i added the possible solution for that
– Qaisar Satti
Feb 24 '17 at 5:56
where i suppose to add this code sir? in email-template content or directly in order_new_guest.html nad where to place it sir?
– Yogesh Raghav
Feb 24 '17 at 6:03
@YogeshRaghav yes change in the template html file and check the output
– Qaisar Satti
Feb 24 '17 at 6:04
sir i have changed the template as u said but seller is not getting the same email.product link and images are missing in that email. i have registered as seller ,assigned product and tried my self but as a customer i got email along with product link and images but when i logged in my emiam as a seller iam not getting mail along with images and product url. where is the issue sir?
– Yogesh Raghav
Feb 24 '17 at 11:42
|
show 23 more comments
so i want to add product url & product thumbail in that so that seller can see the same.how to ahieve this sir?ealier i have done in default.phtml and it worked but how to achieve the same using html file? i want to show same product thumbnail and product url in the email template goes to seller
– Yogesh Raghav
Feb 24 '17 at 5:55
@YogeshRaghav i added the possible solution for that
– Qaisar Satti
Feb 24 '17 at 5:56
where i suppose to add this code sir? in email-template content or directly in order_new_guest.html nad where to place it sir?
– Yogesh Raghav
Feb 24 '17 at 6:03
@YogeshRaghav yes change in the template html file and check the output
– Qaisar Satti
Feb 24 '17 at 6:04
sir i have changed the template as u said but seller is not getting the same email.product link and images are missing in that email. i have registered as seller ,assigned product and tried my self but as a customer i got email along with product link and images but when i logged in my emiam as a seller iam not getting mail along with images and product url. where is the issue sir?
– Yogesh Raghav
Feb 24 '17 at 11:42
so i want to add product url & product thumbail in that so that seller can see the same.how to ahieve this sir?ealier i have done in default.phtml and it worked but how to achieve the same using html file? i want to show same product thumbnail and product url in the email template goes to seller
– Yogesh Raghav
Feb 24 '17 at 5:55
so i want to add product url & product thumbail in that so that seller can see the same.how to ahieve this sir?ealier i have done in default.phtml and it worked but how to achieve the same using html file? i want to show same product thumbnail and product url in the email template goes to seller
– Yogesh Raghav
Feb 24 '17 at 5:55
@YogeshRaghav i added the possible solution for that
– Qaisar Satti
Feb 24 '17 at 5:56
@YogeshRaghav i added the possible solution for that
– Qaisar Satti
Feb 24 '17 at 5:56
where i suppose to add this code sir? in email-template content or directly in order_new_guest.html nad where to place it sir?
– Yogesh Raghav
Feb 24 '17 at 6:03
where i suppose to add this code sir? in email-template content or directly in order_new_guest.html nad where to place it sir?
– Yogesh Raghav
Feb 24 '17 at 6:03
@YogeshRaghav yes change in the template html file and check the output
– Qaisar Satti
Feb 24 '17 at 6:04
@YogeshRaghav yes change in the template html file and check the output
– Qaisar Satti
Feb 24 '17 at 6:04
sir i have changed the template as u said but seller is not getting the same email.product link and images are missing in that email. i have registered as seller ,assigned product and tried my self but as a customer i got email along with product link and images but when i logged in my emiam as a seller iam not getting mail along with images and product url. where is the issue sir?
– Yogesh Raghav
Feb 24 '17 at 11:42
sir i have changed the template as u said but seller is not getting the same email.product link and images are missing in that email. i have registered as seller ,assigned product and tried my self but as a customer i got email along with product link and images but when i logged in my emiam as a seller iam not getting mail along with images and product url. where is the issue sir?
– Yogesh Raghav
Feb 24 '17 at 11:42
|
show 23 more comments
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%2f161573%2fwhich-phtml-file-is-use-for-new-order-confirmation-template-for-guest-seller%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
so i want to add product thumbnail and product url in order_new_guest.html. how to achieve that sir? earlier you have told me about adding same coding in default.phtml and it worked but only for customer. how to add same thing in order_new_guest.html ?so that product thumbnail and product url is visible to seller also
– Yogesh Raghav
Feb 24 '17 at 5:53