FAQ on SalesForce Commerce Cloud: B2B Connector
Q: Why do I get product variants as well as main product items in the product grid or search pages?
Salesforce Commerce Cloud: B2B includes product variants in product search results, unlike some other Commerce Backend Platforms - such as commercetools or ElasticPath - which usually include only main product items, excluding product variants, in the search results.
This behavior is based on how product variants are constructed with the Aggregated Product concept in Salesforce Commerce Cloud: B2B backend which allows to construct an aggregation from multiple products and let the aggregation include product variants from other products. It is a different perspective from other Commerce Backend Platforms such as commercetools or ElasticPath, where product variants are treated as child components of the main product item, rather than independent entities. As a result, the search results from Salesforce Commerce Cloud: B2B may include product variants separately as well.
If you want the search results to include only main product items, then let the product grid or search components invoke Bloomreach Search & Merchandising connector instead of invoking the Salesforce Commerce Cloud: B2B connector directly. When the product catalog is migrated to Bloomreach Search & Merchandising, products and the associations with variants can be resolved by nesting variants inside its main product. As a result, the product grid and search results will include only the main product items if the requests are made against Bloomreach Search & Merchandising connector.