How to add custom options in emails?
If you are selling customizable products, it is important to show all custom options in emails sent to customers to help them easily re-check their orders. Custom options can be added to emails such as Order confirmation, Order canceled, Order refund and Abandoned checkout emails using just one variable.
A. Add custom options to emails sent to customers
B. Add custom options to the email sent to store owner and staffs
You can add custom options to emails which is sent to customers including order confirmation email, cancelled order email, order refund email, abandoned checkout emails.
From your ShopBase Admin, go to Settings > Choose Notifications > Select the emails you want to add custom options to.
In the email template, click to place the cursor in the text in which you want to add custom options. Then, from Go template variables section, click on {{ .lineitem_properties }}. Custom options will appear in your email at the selected position.
{{ .lineitem_properties }} need to be placed inside a line item since the custom option is a line item’s property.
You can add custom options to New order email which is sent to store owners and staff once an order has been placed.
Go to Settings in Admin Dashboard > Choose Notifications > Scroll the mouse to Staff order notifications section > Click New order in Templates field.
In the email template, click to place the cursor in the text in which you want to add custom options. Then, from Go template variables section, click on {{ .lineitem_properties }}. Custom options will appear in your email at the selected position.
Abandoned checkout follow-up emails
In this article
A. Add custom options to emails sent to customers
B. Add custom options to the email sent to store owner and staffs
A. Add custom options to emails sent to customers
You can add custom options to emails which is sent to customers including order confirmation email, cancelled order email, order refund email, abandoned checkout emails.
From your ShopBase Admin, go to Settings > Choose Notifications > Select the emails you want to add custom options to.
In the email template, click to place the cursor in the text in which you want to add custom options. Then, from Go template variables section, click on {{ .lineitem_properties }}. Custom options will appear in your email at the selected position.
{{ .lineitem_properties }} need to be placed inside a line item since the custom option is a line item’s property.
B. Add custom options to the email sent to store owner and staffs
You can add custom options to New order email which is sent to store owners and staff once an order has been placed.
Go to Settings in Admin Dashboard > Choose Notifications > Scroll the mouse to Staff order notifications section > Click New order in Templates field.
In the email template, click to place the cursor in the text in which you want to add custom options. Then, from Go template variables section, click on {{ .lineitem_properties }}. Custom options will appear in your email at the selected position.
Related articles
Abandoned checkout follow-up emails
Updated on: 23/08/2022
Thank you!