FAQ: Custom content in Shopify email templates for Firmhouse orders

You can customize the email content that gets sent out for Firmhouse and subscription orders. This lets you highlight or communicate differently about subscription orders as opposed to regular one time checkout orders.

You can identify an order pushed to Shopify from Firmhouse by looking at the order attributes. Firmhouse adds certain order attributes to every order so you can target them.

For example, put the following snippet in your order confirmation email template in Shopify under Settings > Notifications:

{% if order.attributes.firmhouse-order-id != blank %}
Show content here for every Firmhouse subscription order.
{% endif %}

You can also choose to fully replace the body of the existing email content for subscription orders. If you want to do this you need to make sure your existing email content is wrapped in the else condition of the following sample:

{% if order.attributes.firmhouse-order-id != blank %}
Show content here for every Firmhouse subscription order.
{% else %}
Your normal body content like pricing table and other information for every order.
{% endif %}

As you can see in this sample. The normal body content is placed in the else branch of the if statement.

:bulb: Tip: Testing these email template changes

If you want to test these changes you can update your template. And then go to a previous order in your Shopify store that was created via Firmhouse. Then you can choose to send the confirmation email again from that order page and the updated template will be used.