跳到内容

Products block

此内容尚未提供您的语言版本。

Use the Products block to show a grid of products in an email, for example items from your catalog, a cart reminder, or bestsellers. Each product is a card with an image, title, description, price, and a buy button. You can add the products yourself, or let Pushwoosh pick them.

Choose where products come from

Anchor link to

In the block’s settings, open Source and choose how to fill the cards:

Add products manually

Anchor link to

Fill the grid yourself. You can type products in, pick them from your Product catalog, or mix both in one block.

  • To type a product in, click Add product and fill in its title, description, price, picture, and link.
  • To use a catalog product, click Pick from catalog… and select it.
  • To update catalog products after the catalog changes, click Refresh from catalog. It reloads each catalog product as a whole, including its link, so a URL you changed under Product links is replaced. Hand-entered products stay as they are.
  • To replace a picture, click the product’s thumbnail under Product images.
  • To set where a product leads, enter its URL under Product links.

Set Number of products from 1 to 24.

Manual source settings for the Products block with Add product, Pick from catalog, Refresh from catalog, Product images, and Product links

Pull products with a catalog rule

Anchor link to

Let Pushwoosh pick products by category and sort order, so you don’t choose them one by one.

Catalog rule source settings for the Products block with Category, Sort, Number of products, and Refresh preview

Set up the rule:

  1. Set Category to a catalog category, or leave All categories.
  2. Under Sort, choose Newest first, Price: low to high, Price: high to low, or Title A–Z.
  3. Set Number of products from 1 to 12.
  4. To check the result, click Refresh preview. It recalculates the canvas preview against the catalog right now.

Pick the category from a tag

Anchor link to

With Catalog rule or Recommendations, use From tag in Category when each recipient should get products from their own category, for example the category they browse most:

  1. Set Category to From tag.
  2. In Tag with the category, choose the device tag that holds the recipient’s category. Without it, Smart check shows an error.

A recipient without this tag gets products from any category.

Show items from the cart

Anchor link to

Show each recipient the items left in their abandoned cart. Set Max products shown from 1 to 12.

To see how the block looks for a specific recipient, enter their user ID or email under Preview a user’s cart and click Preview cart.

Cart source settings for the Products block with Max products shown and Preview a user's cart
Anchor link to

Choose a strategy, and Pushwoosh picks the products for you, for example bestsellers or items the recipient viewed.

  1. Set Source to Recommendations.
  2. In Strategy, choose a strategy. See Choose a recommendation strategy.
  3. Set Category to limit the products to one category, or to take the category from a recipient’s tag. See Pick the category from a tag.
  4. Set Number of products from 1 to 12.
  5. Click Refresh preview to check the result. Last viewed item and Item from tag have no preview, because their products depend on the recipient.
Products block settings with Source set to Recommendations, a Strategy selector set to Bestsellers (30 days), Category, Number of products, and Refresh preview

Choose a recommendation strategy

Anchor link to

Pick a strategy by what you want to show. Strategies that need events require your app or backend to send product events. See How to set up product recommendations in email.

Strategies based on sales and catalog

Anchor link to
  • Bestsellers (7 days), Bestsellers (30 days): products ranked by order history only. Needs events.
  • New arrivals: the newest products in your catalog.
  • Back in stock, Price drop: products that were restocked or dropped in price, most recent change first.

If there is nothing to show yet, the block shows the regular catalog. This happens when an account hasn’t collected enough order history, or when no product was restocked or dropped in price.

Strategies based on what shoppers did

Anchor link to
  • Bought together: products that the same shoppers interacted with alongside one product. You store that product’s ID in a tag. See Set the product tag. Needs events.
  • Based on what they viewed: products based on the recipient’s views, cart, and purchases. Needs events.

Both count views, cart, and purchases together, not purchases only. They look at one application over the last 30 days. If an account hasn’t collected enough history yet, the block shows the regular catalog.

Last viewed item and Item from tag

Anchor link to

These two strategies don’t recommend new products. Last viewed item shows products the recipient looked at before. Item from tag shows products you saved in the recipient’s tag.

  • Last viewed item: the products this recipient interacted with most recently, newest first, out of their last 10 products in the last 30 days. Needs the same product activity events as Based on what they viewed.
  • Item from tag: the products whose IDs are stored in a tag, in the tag’s order. A tag with a list of IDs gives several products. See Set the product tag.

Category still filters these products. They don’t fall back to the catalog: if the recipient has no such products, or none of them is in stock in your catalog, the block shows no products. Only its background and border render.

Set the product tag

Anchor link to

Bought together and Item from tag add a Product tag field. Choose a device tag in it:

  • For Bought together, the tag holds the ID of the product the other items are matched with. Without a tag, the block shows the regular catalog.
  • For Item from tag, the tag holds the IDs of the products to show. Without a tag, Smart check shows an error.

Use a tag whose name starts with a letter or an underscore and has only letters, digits, underscores, and spaces. Any other name shows an inline error, because the tag has to be addressable in Liquid.

Style the Products block

Anchor link to

These settings control how the grid and its cards look. They stay the same no matter which source you use.

Style the cards

Anchor link to
  1. Under Columns, choose 1, 2, or 3 cards per row. On mobile, cards always stack in one column.
  2. To set the space between cards, turn on Gap. Off uses the default (16px).
  3. Under Card template, pick a layout. Then set Card background, Card corner radius, and Content padding for every card.
  4. Under Size & fit, set Width, Height, Crop, and Fit. They work the same as the Card block’s per-layout image sizing, sized relative to the card width instead of the whole email. It’s shown for every layout that has an image.

Limit the description

Anchor link to

Cap the description on each card, so all cards stay the same size.

  1. Find Description limit.
  2. Enter the maximum number of characters. The lowest value is 10, so a lower value becomes 10.
  3. To show the whole description, turn the toggle off.

Style the whole block

Anchor link to

Block style settings style the block as a whole, separately from the cards inside it.

To set a background:

  1. Choose a color in Background, or add a Background image.
  2. With an image, choose Fit: Cover crops it to the block, Contain fits the whole image inside it. Use Focal point and Set position to place it.

To add a border:

  1. Set Border color and Border width.
  2. In Border sides, choose All, Top, Bottom, or Top & bottom.

To round the corners, set Corner radius. To set each corner separately, turn on More Options.

To hide the block on one device, turn on Hide on mobile or Hide on desktop. See Show or hide content per device.

To show the block only to some recipients, use display conditions.