---
schema_version: "1"
id: 11ed68f55fe74b465cac2ed684d79c5b20aa833cf4e589fdcb8ad8372c9b6913
title: Choose Product Categories to Use in Breadcrumbs
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_categories_breadcrumbs.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_categories_breadcrumbs.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 4ff48ba6012ed2741ce386aca5ea290c58462b1c2c6c0538401107b77bedf67a
description: The order of breadcrumbs is determined by a combination of a category and product and the date and time that their association was established. The first category that a product is associated with is the product’s primary category and becomes the basis of the breadcrumb order. You can customize the default order of breadcrumbs by explicitly identifying categories as primary. When you identify a category as primary, your store uses it to construct the category path that populates the breadcrumbs on the Product Detail page. You can associate a product with multiple categories, but it can have only one primary category.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Choose Product Categories to Use in Breadcrumbs

The order of breadcrumbs is determined by a combination of a category and product and the date and time that their association was established. The first category that a product is associated with is the product’s primary category and becomes the basis of the breadcrumb order. You can customize the default order of breadcrumbs by explicitly identifying categories as primary. When you identify a category as primary, your store uses it to construct the category path that populates the breadcrumbs on the Product Detail page. You can associate a product with multiple categories, but it can have only one primary category.

### 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)

When a product is associated with just one category, you don’t need to explicitly mark the category as primary. By default, that single category is the product’s primary category. However, when a product is associated with multiple categories, a primary category can be useful. For example, let’s say that your store offers a table saw that’s associated with the Power Tools category. This association is reflected in the breadcrumb on the Product Detail page. You’re having a sale, so you associate the tool with a Sale category. To have the Sale category appear in the breadcrumb on the tool’s Product Detail page, mark Sale as the tool’s primary category.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/images/icon_note.png)

Note Before you can mark a product category as primary, your admin must set up the layout on the Product object to include the Category related list.

1. In the navigation sidebar, select a store from the **Store** dropdown.
2. Select **Merchandising** | **Products**.
3. Click a product name to open its detail page, and select the **Related** tab.
4. In the Categories section, click the actions dropdown across from the category, and select **Set as Primary Category**.
    
    ![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/images/icon_tip.png)
    
    Tip On the Related tab, you can also select **Edit** from a product’s actions dropdown, and select **Is Primary Category**.

Keep these behaviors in mind when working with breadcrumbs.

- If a category isn’t included in navigation—that is, **Show in Menu** isn’t selected—it doesn’t appear in the breadcrumb, even if it’s marked as primary. Instead, Home is used in the breadcrumb. Also, if the product has only one associated category, and that category is non-navigational, the breadcrumb displays Home.
- If you delete a primary category and that category is the only one assigned to a product, the product becomes unavailable in store navigation. If multiple categories are associated with the product, the oldest product-category association determines which category is primary.
- If you make a primary category inactive, all products that are associated with only that category become unavailable in store navigation. If multiple categories are associated with the product, the oldest product-category association determines which category is primary.
- If you remove a product from the primary category, the product’s next category, based on the assigned date, becomes the new primary. If the product doesn’t have other categories, it becomes unavailable in store navigation.

#### See Also

- [Configure Default Store Navigation](https://help.salesforce.com/s/articleView?id=commerce.comm_store_navigation.htm&release=264.0.0&type=5 "Use Experience Builder to set up the default navigation of your B2B store to use product categories. Customers use the categories to navigate the store.")