Depending on what you sell, and how it is configured in your ecommerce platform, you may need to adjust the rules used by product recommendations.
By default, product recommendations recommend variants. However, you can configure it to recommend parent products or set up custom rules to handle variants.
Recommend parents
Before you start
To use this setting to recommend parents, you might need to:
Update your ecommerce connector
Magento 1 requires at least 6.4.23, Magento 2 requires at least 4.3.0.
You must:
Sync your product catalog
Example scenario
Product recommendations identify a product as unique by it having a unique URL. If your store's variants are set up to have their own URL, it is possible that your recommendations contain size variants of a product. In this case, you might prefer to recommend the parent product instead.
Configure to recommend parents
Go to Content > Products > Catalogs.
Select the properties icon for the catalog.
Under product recommendation settings, select SELECT to configure the catalog rules.
In the Edit store rules side panel, under Group products by the selected fields, select Recommend group 'url', which is the default rule.
In the variant rules side panel, select Recommend parents.
Select APPLY in each of the three open side panels to close them and save your settings.
Once you have made these changes, it automatically regenerates your product recommendations.
Recommend variants with custom rules
Example scenario
Your store has variants, which, due to configuration in your ecommerce platform, cannot be linked to a parent product. Or you wish to recommend variants, but you wish to identify unique products by a field other than URL.
In either case, we suggest first contacting the helpdesk as custom variant rules should only be a last resort. There may be possibilities to achieve the outcome you require.
Configure to recommend variants with custom rules
Go to Content > Products > Catalogs.
Select the properties icon for the catalog.
Under Product recommendation settings, select SELECT to configure the catalog rules.
In the Edit store rules side panel, under Group products by the selected fields, select Recommend group 'url', which is the default rule.
In the Variant rules side panel, variant handling should be set to Use custom variant groups.
The default option for Group products by should be URL, which you can change to another field, for example, SKU or Name.