Catalog Item Unavailable
Catalog item unavailable occurs when a Klaviyo email template for Browse Abandonment or Added to Cart Abandonment uses the catalog lookup syntax to retrieve product information, but the product ID provided is invalid.
Commonly, the following syntax is used to inject catalog information based on the event product ID.
{% catalog event|lookup:'ProductID'|default:'' %}
{{catalog_item.title}}
Price: {% currency_format catalog_item.metadata|lookup:"price" %}
{% endcatalog %}
Used correctly, the above template will show as:
A common issue when using this format is that the lookup property is a field other than "ProductID".
For example, properties like "Product ID", "productID" or "productId" etc. are invalid.
Providing an invalid lookup property will cause the following error to show in emails, and cause emails to be skipped.
Please ensure that the catalog lookup is being done on "ProductID".
For example, if the syntax is "{% catalog event|lookup:'Product ID'|default:'' %}", this is invalid as "Product ID" is not a valid property.
To resolve this, please ensure the lookup is on "ProductID" instead.
Product Image not displaying correctly
If your images are also not displaying correctly and your product images are also using catalog lookups, please ensure the dynamic variable is using "ProductID" as well.
The correct syntax for dynamic images using catalog lookups is
{% catalog event|lookup:'ProductID'|default:'' %} {{catalog_item.featured_image.thumbnail.src}} {% endcatalog %}