On this page
Recommendations are one of the oldest ideas in e-commerce and one of the most consistently profitable. The confusion is usually not whether to do them, but what "AI" actually adds beyond the simple "you may also like" block every theme ships with.
This guide covers what recommendation systems really are, what is worth building at each stage of a store's life, and how to tell whether the feature is earning its place.
Why product recommendations matter
A shopper who lands on a product page is telling you something specific about their intent. The question is what you show them next. Handled well, recommendations do three things at once:
- Increase the average order value by surfacing relevant add-ons.
- Deepen the session by giving the shopper a next step.
- Reduce bounce on pages where the visitor is not ready to buy the product in front of them.
None of that requires a neural network. It requires relevance.
The four kinds of recommendation logic
Almost every recommendation feature you have seen is one of these four, or a blend.
Rule-based recommendations
These are the workhorses: manually curated relationships and simple heuristics.
- Frequently bought together from order history.
- Same category, similar price band.
- Recently viewed, or trending in the last 7 days.
- Editor or merchandiser picks for high-margin products.
Rule-based logic is transparent, cheap, and easy to explain to a merchandising team. For most stores under a few thousand monthly sessions, it is the correct starting point.
Collaborative filtering
This is the classical "customers who bought this also bought that" model. It learns from the behaviour of many shoppers to find patterns no human would curate by hand.
It is powerful, but it has a cold-start problem. It needs volume, and it needs volume specifically on the products you want to recommend. A store with 200 monthly orders will not produce reliable collaborative signal.
Content-based recommendations
Content-based systems compare the attributes of products themselves: materials, dimensions, colour, use case, compatibility. They work even with low traffic because they depend on catalogue quality rather than shopper behaviour.
This is where good product data quietly becomes a competitive advantage. Two stores with identical catalogues will get very different results from the same recommendation model, purely because one has clean structured attributes and the other has free-text descriptions.
LLM-assisted and hybrid systems
Large language models change two things.
First, they can reason over messy product data. Instead of requiring a rigid attribute schema, you can embed descriptions and let a model work out that a hiking boot and a trail sock belong together even though neither is tagged "outdoors".
Second, they can generate the shopper-facing copy: a short, specific reason why this item goes with that one, rather than a generic "you may also like".
The most practical production pattern is hybrid. Use rule-based logic as the fallback, content-based or embedding similarity for catalogue coverage, collaborative filtering where there is enough signal, and an LLM to rank and phrase the final set.
What you can realistically ship on Shopify
You do not need to replace the platform. A working approach looks like this:
- Start with theme-level rules. Most themes support related products and complementary products out of the box. Configure them properly before adding anything.
- Add a recommendation app for frequently-bought-together and upsell slots at cart and checkout.
- Build custom logic as a Shopify app or a small service when your rules are business-specific, for example recommending refills based on a previous order's consumable.
- Layer embeddings or an LLM once the basic feature is live and measured.
The trap is jumping to step four because it sounds impressive, while steps one and two remain unconfigured.
A well-tuned "frequently bought together" block usually beats a sophisticated model running on thin behaviour data.
The data you need before any of this works
Recommendation quality is downstream of data quality. Before investing in a model, check that you have:
- Order history with line items, at least a few months deep.
- Consistent product categories and, ideally, structured attributes.
- Clean SKUs, so the same product is not represented twice.
- Session data, so you can tell what a visitor viewed before converting.
If any of these are missing, fixing them will improve results more than any algorithm change.
How to measure whether it is working
Set the baseline before you launch, or you will never know. The three metrics that matter:
- Click-through rate on the recommendation block. Are people interested in what you suggest?
- Add-to-cart and conversion rate from recommended items. Interest is not the same as purchase.
- Average order value and revenue per session. The commercial point of the whole exercise.
Run it as an A/B test where traffic allows. Where it does not, compare a before-and-after window and be honest about the limits of that comparison.
Pitfalls that quietly kill recommendation features
- Recommending what the shopper already bought. Filter out recently purchased items unless the product is a consumable.
- Showing out-of-stock products. Nothing erodes trust faster than a recommendation you cannot fulfil.
- Ignoring margin. The highest-converting recommendation is not always the most profitable one.
- Never refreshing the model. Tastes move seasonally; a stale model recommends last year's winners.
- Bloating the page. Every recommendation widget is a performance cost. Earn it.
How we approach AI features at DevYogi
We treat recommendation work as a product problem with an AI component, not an AI problem with a product attached. That means starting with your catalogue and your margins, shipping the simplest logic that works, instrumenting it, and only then reaching for embeddings or a language model where they genuinely add value.
If you want a second opinion on what is worth building for your store, our AI solutions service covers recommendations, assistants, and automation, or you can get in touch with your catalogue size and current stack.
Frequently asked questions
Do I need a machine learning team to add recommendations to my store?
No. Most stores start with rule-based or content-based recommendations that run on catalogue data you already have. A dedicated ML team only becomes necessary at large scale or with an unusual catalogue structure.
Will AI recommendations work with a small product catalogue?
They work best with enough behavioural data. Below a few thousand monthly sessions, rule-based and content-based logic usually outperform collaborative filtering because there is not yet enough signal to learn from.
How long before recommendations show results?
Expect movement in add-to-cart rate and average order value within four to eight weeks, once the feature is live and instrumented properly.
The DevYogi team
We build AI solutions, e-commerce stores, Shopify apps, mobile apps, and custom software. About us · Work with us