Help Liquid Email

Topic summary

A user is attempting to send a customized email to customers featuring their name and a recommended product (a bath ball filter).

Two main issues:

  • The product image fails to load in the test email, despite appearing correctly in the code inspector
  • Uncertainty about whether customer data is being accessed properly using recipient.name

Current implementation:

  • Uses Liquid templating to assign a default product via all_products['bath-ball-filter']
  • Attempts to personalize with customer name
  • Includes product title, image, price, and a “Shop Now” call-to-action

The issue remains unresolved, with the user seeking guidance on both the image loading problem and correct customer data access methods.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

Please help I am trying to send a custom message to my customers who purchased an order. This custom code block is supposed to show their name and a default item. For some reason when I send the email as a test the image of the item does not load even though I can see it in the code inspector. Also, I am not sure if I am accessing the customer data correctly. Here are some snippets of what my code looks like, thank you.

{% assign default_product = all_products['bath-ball-filter'] %}
{% assign customer_name = recipient.name %}
## {{ customer_name }}, You Might Also Like:
  
    
      
      ### {{ default_product.title  }}
    
    

{{ default_product.price | money  }}

    Shop Now