TransWikia.com

Magento 2: Transnational email custom variables

Magento Asked by lostnconfused on November 19, 2021

There is zero documentation on how to create a variable and attach it to $order or anything of the sort. In my case, I need to multiply a product variables and quantity variable and display them as another variable within the transnational email that gets sent out with a order.

One Answer

the variable that pass to order email template is in the file

vendormagentomodule-salesModelOrderEmailSenderOrderSender.php

https://drops.meetanshi.com/kKe3RY

you can get all the variable that pass to template here

Answered by Jigs Parmar on November 19, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP