Discussions
Embed Item Fulfillment Data into Custom HTML Shipping Confirmation Email
In attempts to embed data from the item fulfillment record in the HTML shipping confirmation email template, I created a new email template called Shipping email for shipping confirmation - Magento v2. In this template, I embedded HTML code into the editor so I can hopefully be able to bring in custom data in the html. Currently I am not having any success. Below are the changes I would like to make in the html pieces of the template:
Item.tranid --> Itemfulfillment.createdFrom
Item.linkedtrackingnumbers--> Itemfulfillment.trackingLink
Item.shippingaddress_text--> Itemfulfillment.shipAddress
Item.billingaddress_text--> Itemfulfillment.billAddress
I am unsuccessful in getting dynamic data to appear in the html as desired. Can someone help me to have the data for these fields to appear in the HTML file?