- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Modify Data in the layout handle="sales_email_order_items" order=$order
Hello,
We are looking to add item information into the sales confirmation template. Pretty sure that this is the handle that pulls in the products that were ordered. However, we are looking to pull data from field "Production Time". Many of our products have varied production times so if someone orders from products that had different times, we would like that info listed on the email template under each product. Is this possible?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Modify Data in the layout handle="sales_email_order_items" order=$order
Hello @giovanni_falco
you can do below way
https://magecomp.com/blog/add-additional-options-magento-2/
where
'value' => 'Additional Options Value'
you need to get value from the product and add to there.
So it will solve all the problem. so it will store data into the quote, order and another page where you want.
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Modify Data in the layout handle="sales_email_order_items" order=$order
@giovanni_falco you can create the attribute for the product and then assign them values from admin and show them where ever you want to show.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Modify Data in the layout handle="sales_email_order_items" order=$order
will the solution you linked work for Magento 1.12 ?