Top

Integrate Product Options with Shopify's Email Templates

Shopify has slightly different background code depending on whether the email template falls under the "Order" heading or under the "Shipping/Fulfillment" heading, so we have two similar code blocks that you can use.

To use them:

  1. From "Shopify Admin", select Settings.
  2. Select Notifications.
  3. Find {% for line in line_items %} or {% for line in fulfillment.fulfillment_line_items %} or similar.
  4. Immediately after this line, copy and paste the appropriate Code block:
    1. If the email template is found under “Orders”, use Order Code.
    2. If the email template is found under “Shipping/Fulfillment”, use Shipping/Fulfillment Code.
  5. Add {{ bold_options }} wherever you want the selected properties to appear.
  6. If you are displaying prices, change line.price to bold_price and line_price to bold_line_price.
  7. Select Save.

That’s it!

Have more questions? Submit a request