Loading
Salesforce now sends email only from verified domains. Read More
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
          Manage Validations for Product Bundles

          Manage Validations for Product Bundles

          As product bundles grow over time, tracking the number of components and ensuring that every component meets the cardinality and structural requirements can become challenging. Validate Product Definition runs on-demand checks against your entire bundled product to ensure compliance. The validations also suggest corrective actions to help maintain the integrity and accuracy of your product configurations.

          Required Editions

          View supported products and editions.

          Configurable Product Validations

          Here’s what’s validated for configurable parent products:

          • The number of products in a group must be greater than or equal to the minimum number of components in the group.
          • The number of required products in a group must be less than or equal to the maximum number of components in the group.
          • The number of child groups under a parent group must be greater than or equal to the minimum number of components in the parent group.
          • The number of child groups that have required product components must be less than or equal to the maximum number of components in the parent group.
          Example
          Example Consider a parent group PG that has this cardinality:
          • Minimum number of components: 2
          • Maximum number of components: 4

          The parent group has only one child group CG1.

          The validation fails because the parent group must have a minimum of 2 child groups but only one child group exists.

          Example
          Example Consider a parent group PG that has this cardinality:
          • Minimum number of components: 1
          • Maximum number of components: 1

          The parent group has two child groups with these components:

          • Child group CG1 has one optional product
          • Child group CG2 has one optional product

          The validation succeeds because both the child groups have optional products, and users can select a product from either of these groups at runtime. The number of required products is 0, which is less than the maximum number of components in the group, which is 1.

          Example
          Example Consider a parent group PG that has this cardinality:
          • Minimum number of components: 1
          • Maximum number of components: 1

          The parent group has two child groups with these components:

          • Child group CG1 has one required product
          • Child group CG2 has one required product

          The validation fails because both the child groups have required products. The number of required products in a group is 2, which is greater than the maximum number of components in the group, which is 1.

          Example of a Static Product Validation

          Here’s what’s validated for static parent products:

          • The default number of components in a group must be greater than or equal to the minimum number of components in the group.
          • The default number of components must be less than or equal to the maximum number of components in the group.
          • The number of child groups under a parent group must be greater than or equal to the minimum number of components in the parent group.
          • The number of child groups under a parent group must be less than or equal to the maximum number of components in the parent group.
          Example
          Example Consider a parent group PG that has this cardinality:
          • Minimum number of components: 2
          • Maximum number of components: 5

          The parent group has two child groups with these components:

          • Child group CG1 has one required product.
          • Child group CG2 has one optional product.

          The validation succeeds because the number of child groups under PG is equal to the minimum number of components but less than the maximum number of components.

          Validate the Product Definition

          Use Validate Product Definition to check the integrity of your product bundles.

          Required Editions

          User Permissions Needed
          To validate the product definition:

          Manage Product Catalog

          Product Catalog Management Designer Permission Set

          1. From the Product Catalog Management app’s home page, click Products.
          2. From the product list view, click the simple product or static bundle product that you want to validate the product definition for.
          3. Click The action icon next to the product, and click Validate Product Definition.
            The validate product bundle option on a product bundle page
            The validation results notify you of any checks that have failed and guide you on how to take corrective action.
            Sample results of the on-demand Validate Product Bundle

          Take corrective action as suggested and validate the product definition again.

           
          Loading
          Salesforce Help | Article