Most Shopify builds break revenue in places nobody checks.
Building a Personalized Product Recommender in Shopify Liquid
A Liquid-based product recommender that doesn't need an app, doesn't slow the PDP, and uses real signals — order history, current cart, and product metafields.
We typically work with Shopify and Shopify Plus stores doing $500k+ in annual revenue.

Building a Personalized Product Recommender in Shopify Liquid
Shopify's built-in recommendations.products is a good baseline. Apps that promise "AI personalization" usually deliver slow scripts and ugly carousels. The middle ground — a Liquid + Section Rendering API recommender powered by your own signals — is where the lift lives.
Signals you actually have
- Current cart contents.
- Customer order history (
customer.orders). - Product metafields (occasion, material, line, complement_to).
- Browsing session (via cookie or local storage).
The architecture
- PDP renders a placeholder section.
- Section Rendering API fetches a personalized section async, passing the customer ID and current product.
- The section uses Liquid logic against metafields and order history to pick complements.
- Cache aggressively at the section level.
{%- comment -%} sections/recommended-for-you.liquid {%- endcomment -%}
{%- liquid
assign current = product
assign suggestions = ''
if customer
for order in customer.orders limit: 5
for line in order.line_items
assign suggestions = suggestions | append: line.product.id | append: ','
endfor
endfor
endif
assign complement_ids = current.metafields.custom.complement_products.value
-%}
Why this beats most apps
- Native speed. Renders inside your existing critical path or async via Section Rendering API.
- No black box. You control the rules, so merchandising can adjust them.
- No monthly fee. It's your code.
- AI-ready. Add an LLM call server-side later if you want — same architecture.
When to use a real personalization platform
If you're running 1000+ orders/day and have rich first-party data, platforms like Rebuy, Nosto, or Klaviyo's on-site personalization can outperform pure Liquid. Below that, Liquid wins on ROI.
We build personalization, PDP, and merchandising features on Shopify and Shopify Plus. Get a quote.
Keep reading
Related resources

Custom Shopify Solutions for Established Brands
Five places where off-the-shelf Shopify stops scaling — and the custom solutions we build for established DTC brands on Shopify and Shopify Plus.

The Shopify Store Setup Playbook for Serious DTC
A pre-launch checklist for established brands: catalog, theme, payments, shipping, tax, analytics, and the integrations you actually need on day one.

Shopify Development Guide: Themes, Apps, Functions & Headless
A practical map of where to build what on Shopify and Shopify Plus — when to use a theme section, when to write a Shopify Function, when to ship an app, and when headless is worth it.
