Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 4564

denotes a question about the Magento e-mail templates

2 votes
Accepted

New Order Send custom email template in Magento 2.4

In Magento Magento\Sales\Model\Order\Email\Sender from the email template for orde. If you want customization then you have to work on prepareTemplate() method. You need to override this class. Here C …
Amit Bera's user avatar
  • 77.7k
0 votes

Order email getShippingDescription - remove method name

Flat Rate - Delivery is coming from the database column shipping_description of sales_order table. If you want to changes Flat Rate - Delivery text only for order confirmation mail then best of idea …
Amit Bera's user avatar
  • 77.7k
4 votes

Magento2: How to insert dynamic generated coupon code in email templates

Yes,it is possible. Create A cart rules from admin>Marketing>Cart Rules. Create a rules which will create dynamic coupon by selecting 'Use Auto Generation' for create multiple couple coupons. Duri …
Khushbu's user avatar
  • 855
0 votes

How to bind product image to email in Magento2.2.5?

You have to punch to $data["shareProdImg"] add to $postObject. $postObject['imgUrl'] = $data["shareProdImg"];
Amit Bera's user avatar
  • 77.7k
2 votes

How to send an array of objects in email in magento 2?

You can but you need to render a block to email template like order&invoice Email. Magento renders order & invoice items render at email using layout & block & template. {{layout handle="sales_ema …
Abhishek Tripathi's user avatar
4 votes

Magento 2.3 custom email attachment not working

Magento2.3 using ZendFramework2, Magento2.3 start deprecated us of ZendFramework1. In ZF2 ,createAttachment() and addAttachment(), are not available anymore, so the correct way of dealing with mu …
Sathish's user avatar
  • 829
2 votes
Accepted

$_item->getOptionByCode('simple_product') in Order Mail

nbar, Please use sku field of order item. In Magento if you ordered a configurable product then Magento is save configurable product's child simple product sku has saved in DB. You need to load sim …
MagentoAaron's user avatar
0 votes

I want to add one more method same like getUrl method in Vendor/Magento/module-email/Model/A...

Class override is not possible as AbstractTemplate is an abstract class. See more at https://magento.stackexchange.com/a/108058/4564 Also, working on original file Vendor/Magento/module-email/Model/ …
Amit Bera's user avatar
  • 77.7k
0 votes

customer's password not displayed in email templates magento 2.1.5

For security purpose, magento have stop sending customer password to email. This happen bcoz of make customer details more confidential. There are some tricky way you can do that but it lot of wor …
Amit Bera's user avatar
  • 77.7k
1 vote

Overriding Sales Email Template in Magento 2 not working

Best way to do the thing from admin. First goto Admin>Marketing>Email Templates Then created new template by Select Default Template and click on Load template Then on Template Content your nee …
Amit Bera's user avatar
  • 77.7k
1 vote
Accepted

Order Shipment email template in get Base Cost of Iteams..How to Get base Cost in magento1?

As per as, default magento base_cost is not a field of sales_flat_shipment_item. So, you could not get it base_cost from $item->getBaseCost(); As per as, my concept ,base_cost is an attribute of pro …
Amit Bera's user avatar
  • 77.7k
0 votes

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

When Magento converts the quote object to the order object it does not save the configurable products SKU in the sales_flat_order_item table, so you can not get the configurable product SKU from there …
Fabian Schmengler's user avatar
0 votes

How to include order pictures in order_confirmation email?

Maegento does not save product image on Sales Item model(Mage_Sales_Model_Order_Item) That why you cannot get image from sales item . If you need then with out product Model load you cannot get i …
Amit Bera's user avatar
  • 77.7k
0 votes

How to call new order email template for one Product only rest should default

Yes, you can do this. For this you need rewrite model class Mage_Sales_Model_Order and the function queueNewOrderEmail is responsiable for set email template. <global> <models> <sales> …
Amit Bera's user avatar
  • 77.7k
5 votes

How Can I Include Customized phtml file in email template

For this case you need to create a handler and this handler will render the you phtml( at local.xml at app/design/frontend/YOUR_PAackage/YOUR_template/layout) on html template <?xml version="1.0"?> < …
Community's user avatar
  • 1

15 30 50 per page