Cannot reference custom profile properties in email template

  • 30 January 2023
  • 1 reply
  • 113 views

Badge +1

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?


1 reply

Userlevel 7
Badge +60

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. 

Reply