Automatic Related Products and Related Product Profiles. Which module supplies Magento 2 recommendations?

A flexible recommendation module for Magento 2 that lets you build custom related, upsell, and cross-sell scenarios based on profiles, product attributes, and layout XML.

2 min read

An olive travel bag between two groups of accessories

A “Related Products” heading can cover items that a rule adds to Magento’s native list. A profile can also render a section of its own. Automatic Related Products for Magento 2 1.0.18 uses package kowal/module-automatic-related-products and module Kowal_AutomaticRelatedProducts. Related Product Profiles 1.1.38 uses kowal/module-related-products-profiles and Kowal_RelatedProductsProfiles. Check both names in composer show and bin/magento module:status.

Repeat the test on the same product page in a copy of the store

Under Kowal → Automatic Related Products, check Enable Extension. Set the rule position to Add into Native Related Block, choose to add or replace the items, and use Apply Rules. For the second test, turn on Enable Frontend Output under Kowal → Related Product Profiles. Create an active profile for Product Page, the same store view and the test customer group. Leave native list injection off in the profile to test a standalone block. Automatic Related Products documentation. Related Product Profiles documentation.

Compare the native list’s SKUs and the profile code

The local trial ran both modules’ code with a simulated catalog and rule index results. The native list initially contained NATIVE-01. The rule supplied ARP-01, and the profile rendered a separate block with PROFILE-01 and code travel-test. In the table, 1 means enabled and 0 means disabled. A dash means there was no standalone profile block.

Trial on the same product page
Automatic Related ProductsRelated Product ProfilesNative list SKUsStandalone profile code
0 · Both disabled0NATIVE-01—
1 · Rule appends0NATIVE-01 + ARP-01—
1 · Rule replaces0ARP-01—
0 · Profile matches customer group1NATIVE-01travel-test
0 · Customer outside profile group1NATIVE-01—

Check the HTML attributes in the source

In the trial, the standard template for the standalone profile added data-profile-code="travel-test" and data-placement="product_page". If the native list changes, check the Automatic Related Products rule position and mode, along with the profile’s Related settings. Related Product Profiles can also feed items into the native list. Use these settings to trace the source.

Once you know the source, use the recommendation candidate troubleshooting guide to trace a missing SKU.

Previous Next

KOWAL.BLOG

Choose your language

Available versions open the corresponding page. More languages are being prepared.

English (UK) Français Deutsch Español Italiano Português Nederlands Svenska Dansk Norsk Suomi Lietuvių Latviešu Eesti Čeština Slovenčina Magyar Română Български Ελληνικά Slovenščina Hrvatski Polski English (US)