#community-help

Grouping Product Variants in Search Parameters

TLDR Alessandro was inquiring about selecting a specific product variant when grouping by model. Kishore Nallan clarified that there is no way to set an additional selection criteria.

Powered by Struct AI
3
15mo
Solved
Join the chat
Jul 22, 2022 (15 months ago)
Alessandro
Photo of md5-54f045fadc868912ffcd8bfcfccbccc9
Alessandro
10:44 AM
Hi folks,
I'm using group_by=model and group_limit=1 params during search to group together variants of a product model, each variant has a specific color, is there a way select which variant to display ?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
10:46 AM
With group limit of 1, the best matching document within the group is selected. There's no way to specify an additional selection criteria.
Alessandro
Photo of md5-54f045fadc868912ffcd8bfcfccbccc9
Alessandro
12:37 PM
ok, thank you