Ability for customers to enter multiple email addresses on one line during checkout (and in their online account) separated by semicolons, so more than one address will receive the pdf invoice and tracking information. Currently Miva has only two options to email templates after checkout, bill_email and/or ship_email, each with only one address.
Announcement
Collapse
No announcement yet.
Multiple emails on one line
Collapse
X
-
discovervalve This can be done using basket/order custom fields. Essentially, you would create an order custom field that will hold the comma separated list of email addresses. Then create an HTML input within the form of the checkout, ie the customer information form on OCST. Then on OSEL (or upsell page if activated) you would add template code to save the value entered in the input to a basket custom field, https://docs.miva.com/template-langu...-basket-fields. Then when the customer checks out the value will be saved to the order custom field with the same code as the basket custom field created. Finally, within the Email settings the To, CC, and BCC fields are all template which have access to template language and logic. Within the desired field you could have template logic that checks the order custom field for a value and if there is one render the value in the field:
Code:<mvt:item name="customfields" param="Read_Basket( 'order_emails', g.order_emails )" /><mvt:if expr="NOT ISNULL g.order_emails">&mvte:global:order_emails;</mvt:if>
Here is more information on basket/order custom fields:
https://docs.miva.com/videos/custom-basket-fields
https://docs.miva.com/template-langu...m-order-fields
https://docs.miva.com/videos/custom-order-fields
Hopefully that points you in the right direction.Nicholas Adkins
Technical Training Specialist / Miva, Inc.
[email protected]
https://www.miva.com/mivalearn
- 2 likes
Comment