Solved

Is it possible to reference a property from a product in an email template?

  • 10 November 2021
  • 2 replies
  • 28 views

Badge

Hello everyone. If I add a product block in my email template, can I use that product’s properties in a text block below in some kind of tag or variable like  {{ product.name }}

icon

Best answer by David To 12 November 2021, 15:45

View original

2 replies

Userlevel 6
Badge +43

Hello @daniel_opw,

Great question! 

By adding a product block to your email template does not provide you the capability to reference that product’s property automatically using variables. You can however utilize the catalog lookup function to reference some product property data though. I would suggest reviewing the Overview of the Catalog Lookup Tag Help Center article that Klaviyo offers to learn more about leveraging this feature. 

Also, keep in mind that if the email was in a flow however, you can reference the properties of the event such as certain product information shared and synced from the event. This is further discussed in the How to Build Dynamic Blocks in a Flow Email article.

I hope this helps!

David

Badge

@david.to I will give the Overview of the Catalog Lookup Tag a try. Thanks a lot!

Reply