Thank you for purchasing our extension. If you have any questions that are beyond the scope of this document, please feel free to contact us via [email protected]

By: Magenest | 




Introduction

Frequently Bought Together for Magento 2 is an AI-powered extension developed by Magenest to recommend complementary products based on historical purchase data.

Recommendations can be displayed on the Product Detail Page, Cart Page, and Mini Cart, helping shoppers discover relevant products and add more items to their orders.

Highlight Features

For Admin:

For Customer:

System Requirements

Before installing and configuring Frequently Bought Together, make sure the Magento environment meets the following requirements:

Admin Configuration

On the admin sidebar, go to:

Stores > Configuration > Magenest > Frequently Bought Together

(plus) General Configuration

Enable Module:

Select Yes to enable Frequently Bought Together.

When set to No:

Display Count:

Defines the maximum number of items returned in each FBT recommendation response.

Display Title:

Defines the title displayed above the recommendation block.

Default value: Frequently Bought Together

Display Logic:

Controls how the FBT block is displayed together with Magento’s native cross-sell product section.

After completing the configuration, click Save Config.

(plus) AI API Configuration

Enter the AI endpoint used by Magento to request recommendations.

Example: https://ai-fbt.izysync.com/suggest

If the URL is incorrect or the AI service cannot be reached, Magento applies fallback behavior.

Enter the authentication token only when required by the AI service.

The token is sent in the following header: Authorization: Bearer

Magento encrypts the saved value and masks it on the Admin screen.

Defines how long Magento waits for the AI response.

Default value: 5 seconds

When the request exceeds this time, it is treated as an error and Magento applies fallback behavior.

(plus) AI & Ranking Rules

(plus) Display Settings

By default, storefront display settings may be set to No. Change the required fields to Yes to show the FBT block.

For example, if the General Display Count is 5 and this field is set to 8, the system will display no more than 5 recommendations.

A lower value is recommended because the Mini Cart has limited display space.

For example, if this field is set to 2 but the AI returns only one valid product, the FBT block may be hidden. If a valid pinned product is available, the block can still be displayed.

(plus) Block Item Limits

These settings define the maximum number of products displayed in each FBT block on mobile and desktop devices.

The actual number of displayed products may be lower if there are not enough valid recommendations after the system applies stock, product status, cart, variant, and blacklist rules.

(plus) Cron Job Configuration

These settings control when purchase data is synchronized with the AI service.

Enter a valid cron expression to define how often the FBT data feed is synchronized automatically.

Example: 0 0 * * *

This schedule runs synchronization once a day at 00:00. Magento cron must be installed and running correctly for automatic synchronization to work.

Select how much historical order data should be included in the purchase feed:

A longer timeframe provides the AI with more purchase data, while a shorter timeframe focuses on more recent buying patterns.

Before testing recommendations for the first time:

    1. Select the required purchase data timeframe.
    2. Click Manual Sync Now.
    3. Wait for the synchronization to complete.
    4. Check the FBT recommendations on the storefront.

(plus) AI Parameters

These settings control how the AI evaluates and selects product recommendations.

For example, when this value is set to 5, both products must appear together in at least five previous orders.

Products with a score below this value are excluded from the recommendation results.

For example, when this value is set to 30, the system uses product popularity data from the most recent 30 days.

Frontend Experience

Frequently Bought Together recommendations can appear in three storefront locations: the Product Detail Page, Cart Page, and Mini Cart.

Product Detail Page

On the Product Detail Page, the FBT block shows the current product together with relevant complementary products.

Customers can:

The number of displayed items depends on the PDP limit configured for mobile or desktop.

Cart Page

On the Cart Page, recommendations are generated based on the products currently in the shopping cart.

Customers can:

The recommendations may update when products are added to or removed from the cart.

Mini Cart

The Mini Cart displays a compact list of recommendations based on the current cart contents.

Customers can add a recommended product without leaving the page they are viewing.

The number of recommendations shown depends on the Mini Cart limit configured for mobile or desktop.

Pinned Product Management

Pinned products allow administrators to manually prioritize specific products in Frequently Bought Together recommendations.

Go to: Catalog > Frequently Bought Together > Pin & Force-bundle

(plus) Pinned Product Fields

(plus) Add a Pinned Product

1. Click Add New Pin.

2. Select the applicable Store.

3. Select the Scope:

4. Enter the Parent SKU when required

5. Enter or select the Pinned SKU.

6. Set the Priority.

7. Set Active to Yes.

8. Click Save Pin or Save Force-bundle.

When multiple products are pinned to the same parent product, the product with the lowest priority value is displayed first. 

Fallback Behavior

Pinned products can be used when the AI service has insufficient data, returns an error, or exceeds the configured timeout.

Product Detail Page

Pinned products are matched with the product currently being viewed.

Cart Page

Pinned products are matched with products currently in the shopping cart.

Mini Cart

Pinned products are matched with products currently in the shopping cart. If only one valid pinned product is available, the FBT block can still display that product.

Blacklist Management

Blacklist rules prevent selected products from appearing in FBT recommendations.

Go to: Catalog > Frequently Bought Together > Blacklist Management

Products in the blacklist do not appear on: Product Detail Page, Cart Page and Mini Cart

When a product is both pinned and blacklisted, the blacklist rule takes priority and the product is not displayed.

Add a Blacklist Rule:

  1. Click Add SKU to Blacklist.
  2. Select the applicable store.
  3. Select the rule scope.
  4. Select a category when required.
  5. Enter the product SKU.
  6. Enter an optional reason.
  7. Set Active to Yes.
  8. Click Save Blacklist Rule.

How AI Selects Recommendations

The AI uses several recommendation methods in priority order. It continues through the sequence until it finds enough valid products for the configured display limit.

  1. Frequently Purchased Together: The AI first checks historical order data to identify products that customers have purchased together. This is the primary and most evidence-based recommendation method.
  2. Similar Products: When purchase history is insufficient, the AI identifies products with similar:
  3. Best Sellers in the Same Category: When additional candidates are required, the AI recommends popular products from the same category or subcategory.
  4. Store-Wide Best Sellers: If the previous methods still do not provide enough candidates, the AI uses popular products from across the store.
  5. Hide the Recommendation Block: When the AI cannot find enough valid candidates and no pinned product applies, the recommendation block is hidden. This prevents the storefront from displaying weak or incomplete recommendations.

Note:

Understanding Min Support Threshold

Min Support Threshold is the minimum number of previous orders that must contain both products before the pair is considered frequently bought together.

For example, when: Min Support Threshold = 5

At least five historical orders must contain both products.

If the pair does not meet the threshold, the AI moves to other recommendation methods, such as similar products or popular products.

Lower Threshold

Higher Threshold

When the Recommendation Block Is Hidden

The FBT block is hidden in the following situations:

Hiding the block is an intentional behavior designed to prevent incomplete or irrelevant recommendations from appearing.

Configuration Notes



Update

 



Support



Once again, thank you for purchasing our extension. If you have any questions relating to this extension, please do not hesitate to contact us for support.