Loading
Salesforce now sends email only from verified domains. Read More
Get Started with B2C Commerce
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Classification vs. Primary Category

          Classification vs. Primary Category

          When assigning a product to a category, the primary and classification categories are used to determine what information appears for the product in the storefront. This topic applies to B2C Commerce.

          The classification and primary categories are also used in SEO to determine the URL and the sitemap attributes used for the product.

          • Classification category–In the storefront catalog, the classification category determines what attributes appear for the product. In the catalog that owns the product. You manage product in this category.
          • Primary category–The category where the consumer searches for the product. This category is in the storefront catalog, and sets which attributes are used to define the product.

          Each product has one classification category and primary category. However, products can be assigned to other categories. If the categories are in the storefront catalog, the products are available for sale in those categories.

          Breadcrumbs on the Product Detail Page

          The primary category you select for an item determines the breadcrumb for the search result of the product or content detail page. If no primary category is set for a product, the classification is used to determine the category links. This breadcrumb remains the same, no matter what category you view the product in.

          For example, if a customer searches for a man's boot, you want the breadcrumb for the result to point to a narrow category such as men’s boots. You don’t want the breadcrumbs to point to a broad category, such as shoes, or one that isn't applicable, such as women's shoes. The classification you select determines the attributes shown for the result. If no classification value is set, the attribute value is taken from the primary category.

          Product URLs

          The order of precedence for a product item URL is:

          1. The primary category of the product in the storefront catalog. If the product doesn't have a primary category assigned or the primary category doesn't exist in the storefront catalog, move to the next step.

          2. The classification category of the product in the storefront catalog. If the product doesn't have a classification category assigned or the classification category does not exist in the storefront catalog, move to the next step.

          3. The first category in the storefront catalog ever assigned to the product. The product must be assigned to at least one category in the storefront catalog to be available on the site.

          4. If there are no values supplied for the product's primary or classification category Site URL attribute, the default settings configured in the default URLs are used.

          You can override the product URLs generated by the URL generator by using the PageURL attribute.

          Sitemap Attributes

          The order of precedence for Change Frequency and Priority values are:

          1. The page-specific attributes of the item.

          2. Then the classification category of the product.

          3. Then the primary category of the product.

          4. If no category attributes are found, the default settings configured in the catalog feed are used.

           
          Loading
          Salesforce Help | Article