I have one requirement to get a single variant of a base product on search. Now I am getting different variants of the same base-product. So in the product details page, we can see the same product that also in the product list.
My question is whether we can get hits with a single variant. Exactly- single variant with the lowest price of that base product?
Is it an option to set url on baseproduct-level instead of variant level and then just select do display your desired variant in search result?
Are you using the accelerator? Then another option is to group variants in listings with _templateSettingService.SetTemplateGroupings(item.TemplateId, item.GroupingFieldId);, this can also be defined in Litium BO: