Skip to main content

How to Include Field Answers in Shopify Email Notifications with Magical Fields

Kyle Godon·Published · Last updated help

You can display the answers from your custom fields in your Shopify email notifications. Here’s how to do it:

  1. From your Shopify admin, go to Settings > Notifications.
  2. Click the name of the notification you want to update.
  3. Click Edit code.
  4. Find the line that contains {% for line in subtotal_line_items %}.
  5. Look for the code block that references the product title right after that line.
  6. Paste the code below immediately after the product title block:{% unless line.properties == empty %} {%- for prop in line.properties -%} {% unless prop.first == "_Form Fields" %} #{{ prop.first }}: #{{ prop.last }} {% endunless %} {%- endfor -%} {% endunless %}
  7. Click Save.

That’s it. Now your customers’ field answers will show up in the email notifications you send out.

If you want to see exactly how it looks, you can watch the short video below:

Originally from our Help Center

Ready to get started?

Install Magical Custom Fields & Upload on Shopify and see the difference today.

Install Magical Custom Fields & Upload on Shopify