Push2Commit
Book a Call
All blog posts

Recommendation Engines for E-commerce: Build, Buy or Skip

Author: Abderrahmen Lahmedi7 min read
Hands arranging three miniature shopfront models on a desk: a plain white one, a cyan one in the middle and an ornate custom-built one

"Customers who bought this also bought..." looks like a feature every shop should have. It is also one of the easiest places to spend months on something a hand-picked list would have done as well. A product recommendation engine only pays when you have enough behaviour data to learn from and enough traffic to prove it helped. Below that, it is a cost with no measurable return.

This guide covers the three families of approach, the point below which you should skip the whole idea, how to decide between building and buying, and how to measure uplift without fooling yourself.

Three ways to recommend a product

Rules and merchandising. A person (or a script) defines the logic: same category, same brand, "frequently bought together" lists curated by hand, best sellers, new arrivals. It is transparent, cheap to run and easy to change. It needs almost no data, only a catalogue that is well structured. If your attributes are messy, fix that first; our piece on catalogue management automation covers it.

Collaborative filtering. The classic engine. It looks at what people viewed, carted and bought, and finds items that tend to appear together or users with similar behaviour. It learns patterns you would never write as rules, but it needs history: many sessions, many products with enough interactions each. Its known weakness is the cold start: a new product or a new visitor has no history, so it gets nothing or the generic fallback.

LLM-based approaches. Language models and embeddings work from the content of the product (titles, descriptions, images, attributes) rather than only from behaviour. That helps exactly where collaborative filtering fails: new items, sparse history, long-tail catalogues. They can also explain a suggestion in plain words or power a conversational "help me choose" flow. The trade-offs are cost per request, latency, and the risk of confident but wrong suggestions, so they need guardrails and a fallback. In practice the strongest setups combine them: content-based signals for cold items, behaviour signals once data exists, and rules as the safety net.

The data threshold: when to skip

We will not give you a magic number, because it depends on your catalogue, your traffic and how repetitive your customers' baskets are. What we can give you is a way to read your own situation. Treat the table as a starting point for a conversation, not a rule.

Your situation Behaviour data Sensible move
Small catalogue, few visitors, most buyers are first-timers Too thin to learn from Skip the engine. Curate "related products" by hand and use category rules.
Growing catalogue, steady traffic, some repeat buyers Enough for simple co-purchase patterns, not for fine personalization Rules plus a bought-together module from your platform or a plugin.
Large catalogue, strong traffic, many repeat customers, rich event history Enough to learn per-segment and per-user patterns A managed personalization service, or a custom engine if your needs are unusual.
Large catalogue with constant new items, or a conversational buying experience History lags behind the catalogue Content-based (LLM or embedding) layer on top of whichever behaviour system you have.

Two honest tests sit under the table. First: can you name the products a returning customer is most likely to want next, using only your own judgement? If a merchandiser can do that for your top categories, rules will probably match an engine. Second: do you have a clean, consistent record of views, carts and orders per visitor, with consent handled? If not, you are not ready, whatever the vendor says. Describing GDPR and cookie consent is a separate topic, but note that behavioural tracking depends on it, and a visitor who declines is a visitor your engine cannot learn from.

Build, buy or skip

Skip when the table says your data is thin. The money is better spent on catalogue quality, search, page speed and checkout. Revisit when traffic and repeat purchase have grown.

Buy (a managed service or a platform feature) when your needs are standard: product pages, cart upsells, email blocks. You get a working system fast, you pay with ongoing fees and some lock-in, and you accept limited control over the logic. Check three things before signing: whether you can export your data and events, whether you can override results with business rules (margin, stock, exclusions), and whether the vendor shows you how to run a controlled test.

Build when recommendations are core to your product, when your data or constraints are unusual (marketplace with two-sided supply, rental, B2B contract pricing, regulated catalogues), or when you need the logic inside your own stack. A custom engine gives control and ownership. It also gives you maintenance: data pipelines, retraining, monitoring, and a person who understands it. This is the same trade-off we describe in build vs buy for AI, and your storefront choice matters too: a headless setup makes it easier to plug in your own components, while a hosted platform may limit where recommendations can appear. If you are still choosing a platform, start with our platform comparison for startups.

Often the right path is staged: rules now, a bought module when data justifies it, custom only for the one surface where it clearly beats the rest.

How to measure uplift honestly

Most "recommendations lifted revenue" claims are not proof. Clicks on a recommendation widget count customers who would have bought anyway. To know whether the engine helped:

  1. Run a controlled test. Randomly split visitors into a group that sees the engine and a group that sees your current baseline (rules or best sellers). Not "before and after": seasons, campaigns and stock changes ruin that comparison.
  2. Compare against a real baseline, not nothing. A hand-curated list is the benchmark to beat, not an empty slot.
  3. Pick the metric before you start. Revenue per visitor, conversion rate and average order value tell different stories. Add margin and returns if you can, since a recommendation that pushes returnable items can look good and cost you.
  4. Decide the duration and sample in advance. Stopping the test the day it looks good is how noise gets mistaken for uplift. Cover full weekly cycles at minimum.
  5. Check segments and side effects. New versus returning visitors, mobile versus desktop, page speed, and whether the engine only shifts sales between products without growing the total.
  6. Keep a holdout. Even after launch, leave a small group on the baseline so you can see drift over time.

If your traffic is too low to reach a clear result in a reasonable time, that is itself the answer to "should we build this?".

FAQ

Is a personalization engine the same as a product recommendation engine? Closely related. A recommendation engine suggests products in specific places (product page, cart, email). A personalization engine is broader: it can also adapt search ranking, banners, sort order and content per visitor. Many tools sell both under one name, so check what each surface actually does.

Can I just use an LLM to recommend products? For a small catalogue with good descriptions, yes, as a content-based layer or a guided "help me choose" flow. Keep a rules fallback, restrict it to products that exist and are in stock, and test it against your baseline like anything else.

What do I need to have in place first? A clean catalogue with consistent attributes, reliable event tracking with consent handled, and a way to run a controlled test. If those are missing, build them first: they pay off with or without an engine.

Next step

If you are weighing a recommendation or personalization feature and are not sure which side of the table you are on, tell us about your shop and your data. We will say whether to skip, buy or build, and what a small first test would look like.

Our Clients

We partner with startups, scale-ups and established businesses across industries, from fintech and SaaS to AI and trading platforms. Our client portfolio reflects the trust and long-term collaboration we build by shipping production-ready products.

Copyright © 2026 P2C - All Rights Reserved.

STE PUSH TO COMMIT · VAT No. 000/M/A/1877276/G