2
这是发电子邮件到我的电子邮件模板文件:添加自定义发票数据在发票电子邮件
\wamp\www\magento\app\locale\en_US\template\email\sales\invoice_new.html
<td> <h2 style="font-size:18px; font-weight:normal; margin:0;">Your Invoice #{{var invoice.increment_id}} for Order #{{var order.increment_id}}</h2> </td>
我不明白如何将订单ID传递给这个HTML文件。
{{var invoice.increment_id}} from where this varible pass in this html file??
{{var order.getShippingAddress().getTelephone()}} where is written this function in magento ?
我想使用此变量并创建函数以从magento表中获取更多数据。那么为什么我必须添加此函数以及如何在invoice_new.html文件中调用此函数?