How to insert a product block (classic editor)

Last updated at:

You will learn

Learn how to insert a product block into Klaviyo emails using the classic editor. 

Product blocks do not support any custom HTML. If you want to custom code your product block, you'll need to use an HTML template.

The product block feature is available by default for the ecommerce platforms listed in our article How to use product feeds and recommendations. If you use an ecommerce platform that is not listed there, you'll need to sync your product catalog into Klaviyo by following our guide, Sync a custom catalog feed to Klaviyo.

Add a product block into an email

  1. Open the email where you want to insert a product block
  2. Drag a product block into your email
  3. Choose how you want to populate buyable items from your product catalog: 
    • Populate from Feed
      Let Klaviyo populate items dynamically at send time, where items are curated from a pre-defined product feed
      1. Toggle the options at the top to Populate from Feed
      2. Choose a pre-defined product feed from the dropdown menu
      3. Adjust the number of rows and columns to determine how many products to display (e.g., 1 row and 1 column for 1 product, 2 rows and 3 columns for 6 products)
      4. Customize the block layout and styles to match your brand and the rest of your template
      5. Click Save
      6. Preview your email to see the feed populate with real items from your catalog
    • Select from Catalog
      Manually select products to display
      1. Toggle the options at the top to Select from Catalog
      2. Click Browse for Products 
      3. Select up to nine products
      4. Click Add Products
      5. Customize the block layout and styles to match your brand and the rest of your template
      6. Click Save
Dynamically populate products from a feed

Product feeds allow you to feature:

  • Best-selling products
  • Most viewed products
  • Newest products
  • Random products
  • Personalized recommendations based around products a customer may also like, products a customer has recently viewed, or products a customer has added to cart

You can filter certain options (such as best-selling products) by timeframe. You can also filter product feeds based on category includes, category excludes, price, or stock level

This option is great for automated email flows, as it reduces the need to edit your messages frequently. With product feeds, you can curate the right items to feature based on your feed's definition, so your most popular and trending items will be included in your flow emails even as trends shift.

For Magento and Shopify stores, if a product goes out of stock, we'll hide it from your catalog so it won't appear in any feed.

Learn how to set up product feeds in your account. You can create one or more product feeds. 

When you choose a feed and save all your settings, you will still see placeholder items in your template. If you are editing your template as a draft campaign or within a flow, you can preview your email in Klaviyo to see the feed populate with real items from your catalog.

Manually Select Products from Your Catalog

For different email campaigns, you may want to hand-pick the right products to feature in a given template. With the Select from Catalog option, you can browse your entire product catalog and pick up to nine items to feature in your template.

The catalog selector tool in the Klaviyo template editor

If you manually select products in a flow message, the item details will not update dynamically, even if you make edits to the product details on your site. If you would like the products to update dynamically, first create a feed containing those items, then use the Populate from Feed option to display them. 

When you’ve selected one or more items, click Add Products. By default, we will display the following details about each product:

  • Product image
  • Product title
  • Product price

You will also see a “Buy Now” button under each item — you can customize the appearance of this button, including the text and styles.

A product block in the Klaviyo template editor

You can also choose to insert a custom description for each item. The custom description will fall below the product’s title and price, but above the button. 

If you are using custom descriptions, we recommend keeping each description under 120 characters. Keep your descriptions for each item a similar length to avoid alignment issues with this block in your email.

By default, product images and buttons are automatically linked to the product's page in your store. Klaviyo will pull in the primary image of a product, so it's not possible to use a variant image instead. If you'd like, however, you can click a link to choose a custom destination URL. This can be useful if you would like to feature a single product from a collection. Then use the image and call-to-action (CTA) button to drive the recipient to this collection's page in your store (vs. a single product page).

After you select one or more products to feature, you may want to re-arrange how the items appear in your template. Drag the numbers in the product block if you want to reorder the items.

A user reorders a set of manually selected products

Additional resources


Was this article helpful?
186 out of 389 found this helpful