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 }}
?
Best answer by David To
View originalHello 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 }}
?
Best answer by David To
View originalHello
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
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.