---
schema_version: "1"
id: 026194f5be46a6222af3ee5f2e577d9cf68f69c9f43be06ca795258327968324
title: Data Expressions for Commerce Search Components
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_components_expressions_search.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_components_expressions_search.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0f415db763e4da2b0662a02f71049d5acd2faeb7b9deda12ee2f5f85f8f9eb24
description: Use these expressions in any component on the Search page of your B2B store.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Data Expressions for Commerce Search Components

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

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

  
| 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. |