---
schema_version: "1"
id: 19211e33a711b04d8e6058856a6aa92363b0b9fc3243bb1f921566fda0825bd1
title: Make Product Variations and Variation Attributes Searchable
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_var_att_search.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_var_att_search.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 47a85f1adf10abff7e35ba1efbf3a9f333c354383ff5653578f31c7294b02e9e
description: Set up Search for product variations and variation attributes so that they’re discoverable in your B2B store.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Make Product Variations and Variation Attributes Searchable

Set up Search for product variations and variation attributes so that they’re discoverable in 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)

1. Add product attributes as searchable fields so that they’re included in search indexing.
    1. In the navigation sidebar, select a store from the **Store** dropdown.
    2. Select **Settings****Search**.
    3. Click **Searchable Fields**, and then click **Manage Searchable Fields**.
    4. Select the fields that you want to make searchable, and click **Save**.
2. Add attributes as search filters so that they’re visible as facets on results and category pages.
    1. Go back to the Search page, and open the **Results Filters** tab.
    2. Click **Manage Filters**.
    3. Move the attributes to use as search filters to the Selected Fields list.
    4. Arrange the list, and click **Save**.
3. Add the Variation Attributes field to the Results Layout component.
    1. In Experience Builder, open the **Search Results** page.
    2. Select the **Results Layout** component.
    3. In the property editor, click **Add Field**.
    4. Click the added field.
    5. In Edit Field, change the field value to **Variation Attributes**.
    6. Adjust the other properties as needed.
    7. Save your changes.
    8. Repeat these steps on the Category Detail page.
4. Rebuild your store’s search index.
    1. Return to the Search page, and open the **Search Index Summary** tab.
    2. Click **Rebuild Index**, and then click **Rebuild**.

#### See Also

- [Product Variations and Attributes](https://help.salesforce.com/s/articleView?id=commerce.comm_var_att_intro.htm&release=264.0.0&type=5 "Use variations to extend the range of products that you offer in your B2B store. For example, add size and color options to a tee shirt. Configure variations to be searchable in your stores and available in multiple languages.")