Skip to main content
Contributor I
November 10, 2021
Solved

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

  • November 10, 2021
  • 2 replies
  • 399 views

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 }}

    This topic has been closed for replies.
    Best answer by David To

    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

    2 replies

    David To
    Klaviyo Employee
    David ToAnswer
    Klaviyo Employee
    November 12, 2021

    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

    Contributor I
    November 12, 2021

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