Data Expressions for Commerce Search Components

Use these expressions in any component on the Search page of your B2B store.

Required Editions

Data Expression Description
Product Cards {!Search.Results.cardCollection} The collection of data displayed in a product card in search results.
Filters {!Search.Results.filtersPanel} The data displayed in the filters panel.
Locale {!Search.Results.locale} Locale of the search results.
Page Size {!Search.Results.pageSize} Number of products per page in the search result.
Total {!Search.Results.total} Number of products in the search result across all pages.
Category Name {!Search.Results.categoryName} The selected category name.
Description {!Search.Results.description} The search and category header title based on results data.
Sort Rules {!Search.SortRules.rules} The list of available sort rules.
Current Sort Rule {!Search.SortRules.currentSortRuleId} The selected sort rule.
Total Pages {!Search.Pagination.totalPages} The number of pages in the search result.
Current Page {!Search.Pagination.currentPage} The current page number in the search result.
Start Index {!Search.Pagination.startIndex} The starting index of items displayed in the list.
End Index {!Search.Pagination.endIndex} The last index of items displaying in the list.