We would like to add an expected delivery date or any other additional info we might want to give to the customer order shipped email. Can someone point me in the right direction if this is possible.
Announcement
Collapse
No announcement yet.
Add Note To Customer Shipped Email
Collapse
X
-
This would be best accomplished using a custom order field:
http://www.miva.com/videos/web_devel...er-fields1/125
Then you can insert the custom order field in the Shipment Shipped email template using the template level functions:
http://docs.miva.com/template-langua...m-order-fields
-
Here's how we've added a note to our shipping confirmation email:
In the email template get the note
<mvt:item name="customfields" param="Read_Order(l.settings:order:id, 'invoicenote',l.settings:note )" />
Next trim the note
<mvt:assign name="l.settings:note" value="trim(l.settings:note)" />
Then show the note if it isn't null
<mvt:if expr="NOT ISNULL l.settings:note">
<table width=670 style="border:1px solid #333; font-size:12px;">
<tr><td>
<b>Comment:</b> &mvt:note;
</td></tr>
</table>
<br>
</mvt:if>
The note's content is entered on the order using the Custom Fields link there.Last edited by wajake41; 08-25-16, 09:26 AM.Larry
Luce Kanun Web Design
www.facebook.com/wajake41
www.plus.google.com/116415026668025242914/posts?hl=en
Comment
Comment