How do I insert wishlist products into Klaviyo email templates?
Wishlist events in Klaviyo carry full product data, so your email templates can show the exact product a shopper saved: image, name, price, and a link back. This guide shows the variables to use in a Klaviyo template, for single product emails and for a “your wishlist” style email.
Prerequisite: your events are flowing. See Test your Klaviyo events.
The product variables on each event
Every wishlist event carries these properties, available in Klaviyo templates as event variables:
| Variable | Contents |
|---|---|
{{ event.Name }} |
Product title |
{{ event.ImageURL }} |
Product image URL |
{{ event.URL }} |
Product page link |
{{ event.Price }} |
Price at save time |
{{ event.PriceFormatted }} |
Price formatted with the currency |
{{ event.ProductID }}, {{ event.VariantID }} |
Shopify IDs |
{{ event.SKU }}, {{ event.Vendor }}, {{ event.Tags }} |
Catalog details |
{{ event.CurrencyCode }} |
Store currency at save time |
Wishlist level variables ride along on every event:
| Variable | Contents |
|---|---|
{{ event.WishlistUrl }} |
Link to the shopper’s wishlist |
{{ event.WishlistProductIDs }} |
All products currently in the list |
Show one product
For an “item back in stock” or “your saved item” email, place the variables directly in a template block:
- Text:
Still thinking about {{ event.Name }}? It is {{ event.PriceFormatted }}. - Image: set the image URL to
{{ event.ImageURL }}and link it to{{ event.URL }} - Button: link it to
{{ event.URL }}with the label you want
Show the whole wishlist
For a “here is your wishlist” email, loop over the saved products:
- In a text block, list the products by iterating over the event’s wishlist product data, or link the shopper to their list.
- Add a prominent button to {{ event.WishlistUrl }} labeled, for example, “View your wishlist”.
The wishlist link is the most reliable grid: it always shows the current list, including items added after the email was built. Reserve template loops for the saved item that triggered the event.
The shopper profile properties
Alongside events, Klaviyo profiles receive:
| Profile property | Contents |
|---|---|
MyWishlistLink |
The shopper’s wishlist URL, usable in any template for that profile |
MyWishlistProductIDs |
The products currently saved |
Because they live on the profile, you can use them in any campaign, not only event triggered flows: a monthly newsletter can greet each shopper with their own wishlist link.
Preview with a real event
Klaviyo template previews render event variables only when a real event is selected. After testing your events, use the preview’s event picker and choose your own test event: the template fills with your product. Without a real event, previews show empty variables.