Cart Completion

Given what is already in the basket, the best add-on to raise the order value: _relate over past baskets finds the category that co-occurs most strongly, and a product from it is suggested with its expected uplift.

Cart Completion: screenshot from the E-commerce demo
🛒 E-commerce_relate_searchE-commerce
Production anchorFour preset carts in the e-commerce demo, each answered by one _relate over past baskets' categories, with the suggested add-ons and their expected uplift.

The problem

A checkout page has one chance to raise the order value, and it has to decide from the whole basket, not from one product. Product-to-product "bought together" lists answer a narrower question; the basket as a whole is the better signal of what the shopper is missing.

How it works

The basket's categories go into the where clause and _relate over past orders returns the categories that co-occur with that combination, ranked by lift. The application drops weak relations, picks a product from each strong category, and shows the expected uplift as the attach probability times the price.

It is the same engine as Bought Together, asked about the whole basket instead of a single anchor product.

For the full architecture, see the technology overview. For the broader narrative across multiple use cases, read The Predictive Application.

See it live

This use case runs in the 🛒 E-commerce demo today. Click through to the live application and inspect the queries that produce the result.

Open the live demo →