---
schema_version: "1"
id: fbf12d73cdfa4f3506ed6b162ae3502c82882bfcf9fe8b91907ded1c7026cdc2
title: Create a Categorization Rule Set for B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_create_a_dynamic_categorization_rule.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_create_a_dynamic_categorization_rule.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1267b7cb06d580c349c54db16d8844cd14a0dfbf7992966d36047a0adeff9e68
description: A categorization rule set is a set of conditions used to organize and classify products. These conditions filter and isolate products based on specific attributes, operators, and values, automatically assigning them to the appropriate category.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Create a Categorization Rule Set for B2C Commerce

A categorization rule set is a set of conditions used to organize and classify products. These conditions filter and isolate products based on specific attributes, operators, and values, automatically assigning them to the appropriate category.

1. Click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select**Merchant Tools** | **Site** | **Products and Catalogs** | **Catalogs**.
2. Click an ID to navigate to a catalog.
3. Navigate to a category and click **Edit**.
4. Open the **Categorization Rules** tab.
5. Click **New**.
6. Configure the initial parameters for the rule sets:
    1. From the Select Locale dropdown, select a locale or leave as default.
    2. From the Select Site Context dropdown, select the site where you want to assign the product.
    3. Designate the category as either the classification category or primary category for the product assigned by the rule set. See [Classification vs. Primary Category](https://help.salesforce.com/s/articleView?id=cc.b2c_classification_vs_primary_category.htm&language=en_US)
7. Create rule sets:
    1. Click **Add Rule**.
    2. Select the attribute for the rule.
    3. To configure rule set logic, select an Operator. See [Rule-Based Categorization for B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_dynamic_categories.htm&language=en_US).
    4. Set a value related to the attribute you selected.
    5. To add another rule to the set, click **Add a Condition**.
        
        Each rule set can have up to five conditions. By default, all conditions within a rule set use AND.
    6. To add another rule set, click **Add Rule**
        
        By default, all rule sets for a given category use OR.
    7. Save your changes.
8. Preview and run rule sets:
    
    1. To preview the rule set, click **Preview**.
    2. To manually run the rule set, click **Run**.
    
    If the rule set is configured to run as a bulk job, review the results after the bulk job runs.

#### See Also

- [Assign Products to Categories (Video)](https://salesforce.vidyard.com/watch/1ZEcPZ5TPA7JRaUJzWDgdU)