Configuration Recommended Item Rules

Overview

Recommended Item rules enable you to associate parts and models with products based on user-configured values. The items recommended may be models or parts.

If the recommended item is mandatory, then the user must buy the selected model with the recommended item. There is no way to delete the item association in the Commerce Process and buy the selected model without the recommended item.

If the item is not mandatory, then the user can opt to not buy the recommended item.

How They Work

A Recommended Item rule also has a condition and an action. The values of the attribute(s) selected as the condition attribute(s) determine the result of the condition, which when true triggers an action to show the recommended items models and/or parts selected.

There is a site option to allow the display of the price of the recommended items on the Model Configuration page. Also, the comment for the rule can be a simple comment or can be specified through an advanced rule.

ClosedRecommended Items Pricing

You can define prices for your recommended items, other than the base price of parts or models. When you define prices for the recommended items in your Recommended Items Rules page, this price is given the highest precedence over the other prices defined (in the Price Book and/or the base price). If you do not define any recommended item advanced pricing rules, the system looks for the prices defined in the Price Book and displays this price to the user. In case the Price Book is turned off, the system displays the base price for the part or model to the user.

When several rules recommending the same item are fired at the same time, then the recommended item price is picked up from the rule that is last in the order. The quantity of the recommended item is decided by adding the quantities that each of the rules provide. This is not true if the option to not sum is turned on.

How Recommended Items Pricing Works

If you define the recommended items advanced pricing, then the price of the item is given by the price specified in the rule. If you do not specify price in your rule:

  • For a model, the base price is passed to the commerce transaction.
  • For a part, if a Price Book is available and the user has access to it, then the Price Book price is passed to commerce.
  • For a part, if a user has access to multiple Price Books, then the user must choose the Price Book on the Model Configuration / Recommended Items page. The price from the chosen Price Book is then passed to Commerce.
  • For a part, if a Price Book is not available, then the price is given by the base price of the part.

Administration Pages

ClosedRecommended Items Rule Page

Recommended Items Rule Page

Item Description

1

The rule Actions menu provides the following functions:

  • Translations: Add translations for a rule.

  • Email the rule summary to the specified recipients.

  • Print the rule summary.

2

The Basic Details section contains general information about the rule.

  • What is the rule type? The rule type, after saving the value is read-only.

  • Name: The name of the rule

  • Variable Name: The variable name of the rule, after saving the value is read-only.

  • Description: The description of the rule.

  • Status

    • Active: Rule is fired when the condition is met.

    • Internal: Rule is active only for FullAccess users; it is inactive for all other users.

    • Inactive: Rule is not fired, even if the condition is met.

  • Effective Start Date and Effective End Date specify how long the rule will remain in the chosen status. If no duration is specified, the rule maintains its status until an administrator changes it.

3

The When section is used to define the conditions that specify when a rule should run. There are three options: Always True, Simple, and Advanced.

Always True: The rule will fire automatically, every time, because there are not any conditions to be met.

ClosedSimple: The rule will fire if the conditions you define using the rule editor are met.

Add conditions to select the necessary condition attributes and define the conditional values.

  • To add a conditions, click +Add Condition.
  • To edit a condition, click on the applicable condition.
  • To remove a condition, click the Delete Trash icon icon.

The order in which the conditions are evaluated in are defined in the Add or change () to change grouping field.

  • Click Match All if all of the conditions must be met.
  • Click Match Any if any condition needs to be met.
  • Click in the Add or change () to grouping field to define custom grouping.
    For example, (1 OR 2) AND 3

ClosedAdvanced: Use the BML function editor to define complex condition logic.

  • Click Convert to Advanced Condition to convert the simple condition to an advanced condition.

4

The Then section is used to define actions (i.e. what will happen if the conditions are met).

  • Advanced: Use BML to define recommended items.
  • Simple: Use the rule editor to select recommended models and/or parts and quantities.
  • Table Lookup: Use data tables to define and map items, quantity, comments, and price details to attributes, static values, or table columns.

Administration

ClosedAdd / Edit a Recommended Items Rule

Complete the following steps to add or edit a Recommended Items rule.

  1. Navigate to the desired product level:

    • All Product Families:  Admin Home > Configurations
    • Product Family: Admin Home > Configurations > Product Family
    • Product Line: Admin Home > Configurations > Product Family > Product Line
    • Model: Admin Home > Configurations > Product Family > Product Line > Model
  2. Click the Edit Edit icon icon for the desired level.
  3. Select Rules in the left navigation.
  4. Create or edit a rule:

    • To create a new rule click + Rule. 

    • To edit an existing rule, click on the desired rule.

  5. Define or edit the Basic Details options:

    • What is the rule type? Recommended Items.
    • What is the rule name? Enter the name of the rule.

    • Variable Name: Enter a variable name for the rule. The Variable Name field populates automatically. The entry can be changed before saving, but after saving the value is read-only. Variable names can only contain alpha-numeric characters and underscores.

    • Description: If desired, enter a rule description.

    • Set the Effective Start Date and Effective End Date to specify how long the rule will remain in the chosen status.
      If no duration is specified, the rule maintains its status until an administrator changes it.

    • Set the status: 

      • Active: Rule is fired when the condition is met.
      • Internal: Rule is active only for FullAccess users; it is inactive for all other users.
      • Inactive: Rule is not fired, even if the condition is met.
  6. Set the Condition Type and add conditions in the What section.

    ClosedAlways True The rule fires automatically.

    ClosedSimple Select attributes and define simple conditions.

    ClosedAdvanced Use the function editor to select attributes and define advanced conditions.

  7. Define recommended items in the Then section.

    1. Check Mandate Recommended Items if the recommended items are required.
      Recommended items are displayed as read-only.

    2. Select the action type to add recommended items.

      ClosedSimple: Use the rule editor to select and define recommended items.

      1. Set Action Type to Simple.

      2. Enter Comments to display with the Recommended Items.

      3. Click + Add Model to add a recommended model.

        • Select the recommended Model from Model Name.

        • Enter the Quantity.

        • Click Create.

      4. Click + Add Part to add a recommended part.

        • Select the recommended part from Part Number.

        • Enter the Quantity.

        • Click Create.

      5. Click the Delete Trash icon icon to remove a recommended item.

      ClosedAdvanced Use BML to define recommended items.

      1. Set Action Type to Advanced

      2. Select the Return Format.

        • Legacy Format:

          • Click Define BML Function, enter the desired script, then click Save.

            Return Format: (item1~quantity1[~item2~quantity2]*)

          • Enter Comments to display with the Recommended Items.

        • Advanced Format with Price and Comments:

          • Click Define BML Function, enter the desired script, then click Save.

            Return Format: (item1~quantity1~comment1~price1[~identifier1][|^|item2~quantity2~comment2~price2[~identifier2] ]*)

      ClosedTable Lookup Use data tables to define and map items, quantity, comments, and price details to attributes, static values, or table columns.

      1. Set Action Type to Table Lookup.

      2. Select Table: Select the Data Table from which you would like to retrieve data.

      3. If applicable, click Specify Filter to filters for the Data Table data.

        • To add a Data Table filter, click Specify Filter.

          1. Click + Add Filter, then add the following:

            • Select the applicable Table Column and Operator.

            • Set the Value Type

              • Static: Enter specific values.

              • Attribute: Choose an attribute for the value.

            • Enter or select the applicable Value or Value Attribute.

            • Click Save.

          2. To add another filter, click +Add Filter, then define the table column, operator, and value.

          3. Set the filter match criteria:

            • Match All if all of the conditions must be met.

            • Match Any if any condition needs to be met.

            • Click in the Add or change () to grouping field to define custom grouping.

              For example, (1 OR 2) AND 3

          4. Click the Delete Trash icon icon to remove a filter.

      4. Click Map Item Properties, then click + Map Properties to add and map items.

        • Item: Select the applicable Data Table column.

        • Quantity: Select the source for the quantity value:

          • Table Column: Select the applicable Data Table column from the Value menu.

          • Static: Enter the quantity in the Value field.

          • Attribute: Select the applicable attribute from the Value menu.

        • Comment: Select the source for the comment to display with the Recommended Items.

          • Table Column: Select the applicable Data Table column from the Value menu.

          • Static: Enter the comment in the Value field.

          • Attribute: Select the applicable attribute from the Value menu.

        • Price: Select the source for the price value:

          • Table Column: Select the applicable Data Table column from the Value menu.

          • Attribute: Select the applicable attribute from the Value menu.

          • Item Master: Map directly to the items master (parts database).

        • Click Save.

      5. To verify data, click Test Table Results.

        • In the Input Section, the Column will already be set (and read-only).

        • Enter the Value to test and click Execute.

  8. Click the Translations Tanslations icon icon to add translations.

  9. Click Create or Save.


ClosedDelete a Rule

Warning: Deleted rules cannot be recovered.

Complete the following steps to delete a configuration rule.

  1. Navigate to the desired product level:

    • All Product Families:  Admin Home > Configurations
    • Product Family: Admin Home > Configurations > Product Family
    • Product Line: Admin Home > Configurations > Product Family > Product Line
    • Model: Admin Home > Configurations > Product Family > Product Line > Model
  2. Click the Edit Edit icon icon for the desired item.
  3. Select Rules in the left navigation.
  4. Right click on the configuration rule's actions ellipsis, then select Delete.
  5. Click Delete in the confirmation dialog.

Related Topics

Related Topics Link IconSee Also