Skip to main content
Question

Displaying / accessing product category values from feed in email

  • March 3, 2026
  • 1 reply
  • 10 views

Forum|alt.badge.img+2

Hi! 

 

Is there a way to display product categories from the Klaviyo product feed in email? We store “Scent Notes” as product tags in Shopify and I need to display them with product recommendations.

 

I’m aware of this “has_category” tag, which get me part of the way there but I’d like to do something like this.

 

        {% with product_feed=feeds.Test %}
        {% for rec in product_feed %}
        {% catalog rec.item_id %}
        
        <tr>
            <td>

                <img alt="{{ rec.title }}" src="{{ rec.image_thumbnail_url }}" />                
                <p>{{ rec.title }}</p>

                {% has_category catalog_item "scent-notes-" as in_category %}

                {% if in_category %}

                {{ HELP HERE }} <!-- This is where I want the 'category' value to display. If I have to loop through them again to only pull the one that has "Scent Notes" {{ in_category }}, just returns true -→

                {% endif %}

                </td>
            </tr>

        {% endcatalog %}
        {% endfor %}
        {% endwith %}

 

1 reply

Byrne C
Community Manager
Forum|alt.badge.img+28
  • Community Manager
  • March 5, 2026

Hi ​@brandi_cantrell,

At the moment, it’s not possible to display an item’s category if it’s not part of that item’s metadata, so as a workaround for this, I’d recommend adding item categories to their metadata in your catalog. That way, you can use catalog lookup tags to pull this information. I recognize that this is a limitation, so I’m happy to speak to our product team and recommend that we add this as an option in the future!