Shopify Emails

Hello. I am working on sending Shopify emails, and I am using the custom liquid format in my email template. However, I want to be sure that the information I am sending customers is personalized to their order within my code. How do I go about doing that?

2 Likes

It depends what you mean by “personalized to their order”.

One approach:

  1. Decide what you want to personalize

  2. Look up the Liquid documentation to see how to add that data (or condition, variable, etc): https://shopify.dev/docs/api/liquid/basics

  3. Update the template then preview

It’s a good idea to backup your template before editing, copy / paste the code into a text file and save it, in case you want to revert at a later date.

Hi! To personalize emails using custom Liquid in Shopify, you can access order-specific info using Liquid variables like {{ customer.first_name }}, {{ order.name }}, {{ line_items }}, etc. Just make sure you’re using the correct email type (e.g., Order Confirmation) where those variables are available. !