When to use grouping
Grouping makes sense when:- You want to surface recommendations across multiple categories from a single widget (for example, a homepage “Top picks” block with tabs for Women, Men, Kids).
- You’re using a category-aware algorithm like Popular Products by Category and want all categories to render at once.
- You want visitors to self-select what they’re interested in without scrolling through unrelated cards.
Enable grouping
1
Open the widget
Go to Personalization → Recommendation widgets and open the widget you want to edit.
2
Find the grouping setting
In the widget’s appearance settings, locate the Recommendations grouping option.
3
Turn grouping on
Toggle the option on. New configuration fields appear below it.
Choose the grouping attribute
You can group products by any of these attributes:- Product name — useful for showing variants grouped together.
- Price — splits products into price tiers (rarely useful for a tab UI, more common for filters).
- Manufacturer / brand name — one tab per brand.
- Discount — separates discounted and full-price items.
- Primary category — the most common choice for a homepage block.
- Custom field — any custom product field, referenced by its system name (for example,
gender,season,collection).
Specify which values to show as tabs
By default, the widget creates a tab for every distinct value of the chosen attribute that appears in the algorithm’s output. To control the order and limit which tabs appear, list the values explicitly as a comma-separated list:- The list is case-insensitive —
Women,women, andWOMENall match the same value. - The order in the list is the order tabs appear in the widget.
- Values not on the list are excluded from the widget (unless you enable “Other” — see below).
If none of the products returned by the algorithm match the values you listed, the widget falls back to showing all available categories. This prevents the widget from rendering empty — better to show something than nothing.
The “Other” group
Enable the “Other” group option when you want products that don’t match any of the listed values to still appear — bundled into a single catch-all tab. You can set the display name (for example,More, Everything else, or Other).
Use cases:
- You list the top three categories explicitly and let everything else fall into “More”.
- You’re running a seasonal block (
summer,fall) and want non-seasonal items grouped together.
Style the tab bar
Tab bar styling is configured separately for mobile and desktop, so you can tune sizes for each viewport. Adjustable properties include:- Tab font size and font weight.
- Tab padding and gap between tabs.
- Active tab indicator — underline color, thickness, and offset.
- Tab text color — separate values for inactive and active states.
- Background — fill behind the tab bar.
Finish the setup
Once grouping is configured:1
Pick the website
Choose the site this widget belongs to (for multi-site projects).
2
Pick the product system
The catalog source the algorithm draws from.
3
Pick the algorithm
A category-aware algorithm like Popular Products by Category pairs naturally with category grouping.
4
Set the display location
Either embed via CSS selector or paste the container code into your site template.
5
Test on the test link
Open the widget’s test link and verify each tab loads its own products, the tab styling looks right on both desktop and mobile, and switching tabs is smooth.
6
Launch
Activate the widget once everything checks out.
Common pitfalls
Tabs show but they're empty
Tabs show but they're empty
The algorithm isn’t returning products for that category. Confirm the category has in-stock products and that the algorithm’s source segment (if any) doesn’t exclude them.
Tab order is wrong
Tab order is wrong
The comma-separated value list controls order. Re-order the list and save.
A tab is missing
A tab is missing
Either the value isn’t in the list, or no products in the algorithm output have that value. Check both.
The widget shows all categories instead of just my list
The widget shows all categories instead of just my list
None of the products in the algorithm output match your listed values, so the widget fell back to “show everything” to avoid rendering empty. Either broaden your list or check that the algorithm is returning the categories you expect.
Next steps
- How to Create a Recommendation Widget — full widget setup walkthrough.
- How to Style a Recommendation Widget — product card markup and CSS guidelines.