I have been trying to add a custom order field to our shipped confirmation emails with no success. I tried implementing a suggestion I found on the forum but have had no luck displaying the custom order field. The custom order field code is "order_note". If someone doesn't mind looking at my code below and see if any assistance can be offered.
<mvt:item name="customfields" param="Read_Order(l.settings:order:id, 'invoicenote',l.settings:order_note )" />
<mvt:assign name="l.settings:order_note" value="trim(l.settings:order_note)" />
<mvt:if expr="NOT ISNULL l.settings:order_note">
<table width=670 style="border:1px solid #333; font-size:12px;">
<tr><td>
<b>Comment:</b> &mvt:order_note;
</td></tr>
</table>
Any help is much appreciated.
Greg
<mvt:item name="customfields" param="Read_Order(l.settings:order:id, 'invoicenote',l.settings:order_note )" />
<mvt:assign name="l.settings:order_note" value="trim(l.settings:order_note)" />
<mvt:if expr="NOT ISNULL l.settings:order_note">
<table width=670 style="border:1px solid #333; font-size:12px;">
<tr><td>
<b>Comment:</b> &mvt:order_note;
</td></tr>
</table>
Any help is much appreciated.
Greg
Comment