Skip to main content

Creating a Wishlist Similar Block

The Wishlist similar block recommends products that are similar to those the user has added to their wishlist. Structurally, it is similar to the Cart similar — the screen is set up the same way, but the source is the wishlist instead of the cart, and the labels for some fields are different.

1. Creating the Block​

In the Name field, enter a title, in the "Type" field select "Similar Products to Wishlist Block," and specify the

Marker
. After clicking Add, the block will appear in the table.

2. Editing the Block​

The block settings screen includes:

  • Details — Name* and Marker
  • Block settings (the Settings for 'Similar to wishlist' block card, next to it is the Help button): Maximum number of products, Exclude items from wishlist, Fallback to trending when wishlist is empty
  • Audience filter
  • Automatic matching by attributes (Match by attributes)
  • Selection of similar products
  • Context for preview — the Test wishlist (product IDs) field
  • Preview

Automatic Matching by Attributes​

The main section. Select the attributes by which similar products will be matched:

  • Set of attributes — a set of attributes from which characteristics for comparison are taken.
  • Attributes for comparison — the attributes themselves, by which similar products are matched.
  • Minimum matches — how many attributes from the selected ones must match for a product to be included in the output.

In the preview Found products, under each product, it displays Matched by: Brand: ONE, Color: White — with the name of the attribute that matched.

Selection of Similar Products​

Under the Match by attributes section is the Selection of similar products section — the same as in the automatic similar products block. Similar products are selected for each item in the wishlist based on the meaning of its description and are recalculated with each request: if the wishlist changes, the selection will change as well.

  • How important is a close price — a slider from 0 to 1: the higher the value, the more products with prices far from the original product's price are pushed down the list; 0 means price is not considered.
  • What kind of product should be to get into the block — mandatory conditions: a product will only be included in the block if all conditions are met. The "matches" condition compares with the value of the original product. There is also a checkbox for Non-indexed products — whether to include products that have not yet been indexed.
  • Show as a single card products that match by — characteristics by which variations of a product (sizes, colors) are shown as a single card: checkbox Title and attributes by sets. If nothing is checked, each product is shown as a separate card.
  • Where to search for similar products — categories from which similar products are taken. If nothing is selected, the search is conducted in the categories of the product itself; selected categories completely replace this area.

Below the settings, diagnostics for the saved block are displayed: how many products are in the catalog, how many models remain after merging, and how many products will have fewer than two similar items.

The preview Found products is built based on the Test wishlist (product IDs) field in the Context for preview section — product IDs separated by commas (up to 50).

Audience Filter​

The audience for the block — see Audience Filter.

Preview​

The "Open in modal" button opens the Block preview.

ℹ️Cart similar or Wishlist similar?

The screens for these two blocks are set up the same way, but the field labels are different for each: for Cart similar — Maximum items, Exclude items from cart, Fallback to trending when cart is empty, Test cart (product IDs); for Wishlist similar — Maximum number of products, Exclude items from wishlist, Fallback to trending when wishlist is empty, Test wishlist (product IDs). The difference in meaning lies in the source: Cart similar looks at the cart, while Wishlist similar looks at the wishlist. Choose the block type based on which screen of the site it will be displayed on.