Loading
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
          Product Visibility and Recommendations in Real Time

          Product Visibility and Recommendations in Real Time

          As you browse the catalog, Product Discovery evaluates the current transaction against configuration rules. Based on the rules you configure, Product Discovery shows messages, disables products, and recommended products directly in the browsing experience.

          Required Editions

          View supported products and editions.
          User Permissions Needed
          To view visibility rules: Product Catalog Management Designer

          Visibility Rules

          Visibility rules control how products appear in the catalog based on your current transaction. When configured rules evaluate the transaction, products that don't meet the conditions are restricted or hidden from selection. This makes sure that sales reps see only the products that are valid for the current context, reducing errors and improving accuracy during the quoting process.

          Disabled products shown in the product list when the Disqualified filter is applied
          1. On the Browse Products page, browse or search for products.
          2. To find products disabled by rules, apply the Disqualified filter.
          3. Review the message to understand why a product is disabled.
          Example
          Example Example: Disable products based on the transaction.

          Use a disable rule to make certain products disabled in Product Discovery when the transaction meets specific conditions. In this example, when the transaction includes a Desktop Computer, Product Discovery disables a set of related products while users browse the catalog.

          @(virtual = "true")
          type Transaction {
            @(sourceContextNode = "SalesTransaction.SalesTransactionItem")
            relation lineitems : LineItem;
            rule(
              lineitems[DesktopComputer],
              "disable",
              "relation", "LineItem",
              "type", "DisabledProducts",
              "message", "These products are unavailable based on the current transaction."
            );
          }
          type LineItem;
          type DesktopComputer : LineItem;
          type DisabledProducts;
          type Monitor  : DisabledProducts;
          type Keyboard : DisabledProducts;
          type Mouse    : DisabledProducts;
          

          Product Recommendations

          Recommendation rules show suggested products based on your current transaction. You can review these suggestions, understand why they’re recommended, and easily add them to your quote.

          Recommendations panel with recommended products
          1. On the Browse Products page, click Recommendations in the left panel.
          2. Review the suggested products and the messages explaining why they’re recommended.
          3. Add recommended products directly from the list to the transaction, or continue browsing.

            To view products that are disabled but also recommended, use the Disqualified filter.

          Example
          Example Example: Recommend products based on the transaction.

          Recommendation rules show relevant products based on the current transaction. Recommended products appear in the Recommendations panel and can be added to the transaction, but the rules don't restrict or prevent product selection.

          In this example, when the transaction includes a Primary Product, Product Discovery recommends a group of products while users browse the catalog.

          @(virtual = "true")
          type Transaction {
            @(sourceContextNode = "SalesTransaction.SalesTransactionItem")
            relation lineitems : LineItem;
            rule(
              lineitems[Laptop],
              "recommend",
              "type", "RecommendedProducts",
              "message", "Consider these add-ons for the selected laptop."
            );
          }
          type LineItem;
          type Laptop : LineItem;
          
          type RecommendedProducts;
          type Headset      : RecommendedProducts;
          type Mouse     : RecommendedProducts;
          type ExtendedWarranty : RecommendedProducts;
          

          Auto-Add and Auto-Delete

          Product Discovery evaluates configured rules and automatically adds or removes products from a transaction when the specified conditions are met.

          1. On the Browse Products page, add a product that triggers a rule to add products.
          2. Click Preview to view the transaction.
          3. Review the products that were automatically added to the transaction.
          Example
          Example Example: Automatically add products based on the transaction.
          @(virtual = "true")
          type Transaction {
            @(sourceContextNode = "SalesTransaction.SalesTransactionItem")
            relation lineitems : LineItem;
            rule(
            require(lineitems[APIAccessRequests], lineitems[QuantumBitDatabase], "Unable to add Quantum Bit Database");
          }
          
          type LineItem;
          type APIAccessRequests : LineItem;
          
          type QuantumBitDatabase : RequiredProducts;
          

          Messages

          Messages display error, warning, or informational alerts based on the current transaction. They appear at the top of the Browse Products page when a message rule applies, providing guidance without interrupting browsing.

          Message bar showing error, warning, and info messages triggered by configuration rules
          1. On the Browse Products page, select or add a product.
          2. If an alert appears at the top of the page, click Errors, Warnings, or Info to view the messages.
          Example
          Example Example: Display messages based on the current transaction

          Use a message rule to show info, warning, or error messages in Product Discovery when the transaction meets specific conditions. Message rules guide users by explaining important conditions or considerations as they browse the catalog.

          In this example, when the transaction includes a Primary Product, Product Discovery shows a message to inform the user.

          @(virtual = "true")
          type Transaction {
            @(sourceContextNode = "SalesTransaction.SalesTransactionItem")
            relation lineitems : LineItem;
          
            rule(
              lineitems[PrimaryProduct],
              "message",
              "info",
              "message", "Info: Review available options before continuing."
            );
          
            rule(
              lineitems[PrimaryProduct],
              "message",
              "warning",
              "message", "Warning: This selection may require additional review."
            );
          
            rule(
              lineitems[PrimaryProduct],
              "message",
              "error",
              "message", "Error: This selection requires a correction before you proceed."
            );
          }
          
           
          Loading
          Salesforce Help | Article