Frequently Bought Together
Frequently Bought Together
Frequently Bought Together
Frequently Bought Together
Frequently Bought Together
Frequently Bought Together

Frequently Bought Together

Increase average order value by suggesting frequently bought together products based on past orders. Also known as related products or product recommendations.

Monthly License
  • Updates and support
  • Get updates 30 days before release
  • Access to source code
€20.00 / month
Annual License
  • Updates and support
  • Get updates 30 days before release
  • Access to source code
€192.00 / year
Billed annually upfront

Join the Waitlist

Be the first to know when the new marketplace is available. We'll send you an email as soon as it launches.

Latest version1.1.0
Compatibility>=2.2.0
Last publishedDec 20, 2024
Pinelab
PinelabWebshops for mission-driven brands and wholesalers

Official documentation here

This plugin finds products that are often bought together by looking at past orders. You can integrate these frequently bought together products on your storefront, and so increase your revenue.

This is a paid plugin. For production use, please purchase a license at https://vendure.io/marketplace.

Installation

  1. To install the plugin, add it to your Vendure config and include its Admin UI extension in the Admin UI plugin:
  1. Run a database migration to add the custom fields to your database.

Storefront usage

You can get the related product via the shop API with the following query:

Product relations in the Shop API are sorted by support, meaning that the most bought together products will appear first in the list. The admin UI shows relations in random order due to the unordered nature of SQL relations.

Experiment mode

Each shop's optimal support level varies based on data density. For example, a shop with many variants and few orders requires a lower support level. To experiment with support levels:

  1. Start the server locally, and make sure you have set experimentMode: true in the plugin's init function.
  2. Go to http://localhost:3000/admin-api or use a GraphQL client like Yaak to use the admin API
  3. Execute the following query against the admin api:

When you have found your desired support level, you set it in the plugin:

  1. Run the server again
  2. Go to /admin/catalog/products
  3. Click the three buttons at the top right and click Calculate frequently bought together relations

The frequently bought together relations are now set on your products.

Tips for Tweaking Support Levels:

  • Start high (e.g., 0.1) and gradually reduce (0.01, 0.001, etc.).
  • Review the worst item sets:
    • Increase the support level if they seem irrelevant.
    • If support equals 1, it indicates a single order—a poor indicator of frequent purchases.
  • Monitor memory usage to avoid exceeding worker RAM.

Channel specific support

To set different support levels for channels:

Use the vendure-token header to preview queries for specific channels.