Recommendation Section
Role attribute
Every instance of this component carries:
wf-algolia-elementrecommendRecommend model id (e.g. "related-products").
Algolia index queried by the Recommend call.
Read seed objectID from a field on the page.
Set to "path" to read the seed objectID from the URL path (last segment).
Static seed objectID for the recommend call.
Cap on the number of recommendations rendered.
Minimum confidence score (0–100) a recommendation must clear; out-of-range values are ignored.
Facet to scope/return: optional on trending-items (pair with -facet-value), required on trending-facets.
Facet value used with trending-items; must be paired with wf-algolia-facet-name or both are ignored.
User token for recommended-for-you; a literal token or "cookie:NAME" to read it from a cookie.
Comma-separated seed objectIDs for multi-seed recommendations (each objectID bills as one request).
An Algolia filters string applied to the primary recommend query (queryParameters.filters); ignored on trending-facets (that model accepts no queryParameters).
An Algolia filters string for the fallback query (fallbackParameters.filters); not supported on FBT.
Elements inside it
These roles are placed inside this component, not on their own:
recommend
└─ recommend-grid
- — Container inside a recommend scope the recommendation cards render into.