Skip to main content
Contributor I
January 30, 2023

Cannot reference custom profile properties in email template

  • January 30, 2023
  • 1 reply
  • 277 views

Hi there, 

 

I’m trying to replicate this article to insert recommended product IDs into profile properties and referencing them in email templates: https://help.klaviyo.com/hc/en-us/articles/360004785571-The-Catalog-Lookup-Feature

 

I’ve successfully created a custom property on the profile I’m targeting, and am inserting the code block into the text block of the email template editor, however upon previewing the email, I can see the for loop skipped which renders a blank text block. 

 

Under profile property section when previewing the email, I also cannot see my custom property in the list. Am I doing something wrong? Can someone help?

This topic has been closed for replies.

1 reply

stephen.trumble
Klaviyo Alum
January 31, 2023

Hey @aubergine 

Welcome to the Klaviyo Community! thanks for reaching out for help!

Thank you for sharing the Help Center article you used. From the looks of your example, this appears to be a formatting issue with the syntax. I would copy and paste the code from the article and just replace your custom profile property within the text. If the syntax is not written correctly it will lead to a blank block in your email. 

-Stephen