Feature

Product recommendations: a recommendation widget powered by the same AI as your search

The Mandelbaum recommendation widget shows product recommendations as rows on product pages, the homepage, category pages and in the cart. There are four types: similar products, complementary products, bestsellers and recently viewed. Similar and complementary products come from the same AI model that powers your search, so you don't maintain cross-sell lists by hand. The product cards are the same as in the search, and your exclusion and ranking rules apply here too.

Which recommendations are there?

Recommendation Where it goes What it shows
Similar products Product page Alternatives for the same buying intent, such as other hiking boots next to a hiking boot
Complementary products Product page Products from other categories that relate to the current one, such as accessories and add-ons
Bestsellers Any page Your top products from analytics, plus products you pin by hand
Recently viewed Any page The products the visitor viewed most recently, newest first

Every row is its own block with its own heading and placement. You can combine several rows on one page, for example similar and complementary products below each other on the product page.

How does the widget know what is similar?

Mandelbaum already knows every product in your catalog from the search: name, description, categories and attributes live in the same semantic index. Similar products are the products closest in meaning to the current one. For complementary products the widget deliberately looks outside the current product's categories, so a camera isn't followed by another camera but by a lens, a bag or a memory card.

New products therefore show up in recommendations from the next catalog sync, without purchase history and without rules.

How do I add the widget?

  • Shopify: The Mandelbaum app ships two theme blocks. Put "Recommendations" on the product page for similar and complementary products, and "Recommendations (general)" on any other page for bestsellers or recently viewed. Set the heading, number of products, visible cards and heading style right in the theme editor. More on AI search for Shopify.
  • Shopware, custom and headless shops: You load a script and decide where the rows appear: either with CSS selectors pointing at existing containers, or with a container of its own at the right spot in your template. Everything is configured with data attributes. Headless shops can also fetch recommendations from the Search API.

All attributes and examples are in the recommendation widget docs.

Does the widget match my shop's design?

Yes. Recommendation cards are the same component as the search result cards. Colors, fonts, badges, ratings and variant pickers come from the UI designer, and your own CSS applies here too. You maintain the look in one place. Per row you only set the heading, so it matches the other headings in your shop.

While a row loads, its heading and placeholder cards hold its space, so the content below doesn't jump. A row without products is removed again, with no empty heading left behind.

Do my rules apply to recommendations?

Yes. Exclusion rules apply to all four types: a hidden product appears in no recommendation row. Ranking rules, such as "in stock first" or "boost our own brand", change the order of similar and complementary products. Bestsellers and recently viewed have a fixed order.

Bestsellers come from the same selection as the top products in the search empty state: filled from analytics, chosen by hand, or both.

How do I measure whether recommendations sell?

Recommendation clicks are measured like search clicks and appear in search analytics as their own source, with the row type and the product the visitor came from. Conversions are attributed to the row through the Shopify pixel or the tracking API. Recommendation clicks don't count towards the search click-through rate, so your search numbers stay clean.

Is "recently viewed" GDPR-compliant?

This row works only in the visitor's browser: visited pages are stored locally, at most 20 pages for 30 days. They are stored and read only with analytics consent. Without consent the row stays empty and isn't shown. More on GDPR-compliant site search.

FAQ

What is a recommendation widget?

A component that adds product recommendations to your shop as a row, for example "Similar products" on the product page or "Bestsellers" on the homepage. The Mandelbaum widget loads recommendations from your catalog and shows them in your shop's design.

Which recommendations does Mandelbaum offer?

Similar products, complementary products such as accessories, bestsellers and recently viewed products. Each type can be placed on its own.

Do I have to maintain cross-sell rules?

No. Similar and complementary products come from the search's semantic index. You can influence the order with ranking rules and hide products with exclusion rules.

Does the widget work without Shopify?

Yes. On Shopware, custom and headless shops you embed a script with data attributes, and headless shops can also fetch recommendations from the Search API.

Are recommendations personalized per visitor?

Personalization per visitor isn't available yet; it is planned. "Recently viewed" already shows the products the individual visitor looked at.

Does the widget slow down my shop?

The script loads once per page, and rows hold their space while loading, so nothing jumps. Rows without products are removed.

Paste your URL. See for yourself.

Two clicks, five minutes, no dev ticket. Your own AI search is live.

✓ Free demo ✓ No credit card ✓ No effort

Prefer a walkthrough? Book a demo →