Short version of question:
What is the correct code and syntax to place the contents of a custom product field in the the customer confirmation email?
Details:
I have a custom field to upload file path for pdf product documentation.
I want to include a link to that in the the customer confirmation email.
I have assigned the custom fields item to the customer confirmation email page.
I have "selected" the custom field I want in the order contents section.
But I can't figure out how to display the information in the email.
I can get a link to display just fine on the product page, just not in the confirmation emails. Here is the code that I've been using..
Thanks!
What is the correct code and syntax to place the contents of a custom product field in the the customer confirmation email?
Details:
I have a custom field to upload file path for pdf product documentation.
I want to include a link to that in the the customer confirmation email.
I have assigned the custom fields item to the customer confirmation email page.
I have "selected" the custom field I want in the order contents section.
But I can't figure out how to display the information in the email.
I can get a link to display just fine on the product page, just not in the confirmation emails. Here is the code that I've been using..
Code:
<mvt:item name="customfields" param="Read_Product_Code( l.settings:product:code, 'docs', g.docs )" /> <mvt:if expr="NOT ISNULL g.docs"> <a href="&mvt:product:customfield_values:customfields:docs">Documents</a> </mvt:if>
Comment