Price rule conditions

Conditions determine which products are eligible for the price rule. Defining the conditions for your Amazon pricing rules follow the same logic and process as defining the conditions for Cart Price Rules in Commerce.

If your price rule applies to all products in your Commerce catalog, then leave this section blank.

Any areas in the conditions that are bold can be clicked to see the various options.

Example: build a price rule condition

This process can be simple or detailed, depending on your catalog configuration. You can define your conditions so that when ALL or ANY of the conditions are either TRUE or FALSE for a product, then the product is eligible for the pricing rule to be applied.

Conditions are based on your product attributes. To apply the rule to all products, leave the conditions section blank.

If you want to define a condition based on a specific product attribute, Use for Promo Rule Conditions for the attribute must be set to Yes in your Storefront Properties for the attribute.

Price rule condition - line 1 {width="600" modal="regular"}

This example defines a rule that applies a 25% discount to all products that are defined in the Books category.

The rule statement has two bold links, which, when clicked, show the options for that part of the condition statement. If you save the condition without changing a bold option, the rule applies to all your products.

  • Click ALL and choose either ALL or ANY.
  • Click TRUE, and choose either TRUE or FALSE.
  • To apply the rule to all products, leave the condition unchanged.

You can create different conditions by changing the combination of these values. For this example, the following condition is used:

If ALL of these conditions are TRUE:

  1. To show available attributes for which the condition applies, click the Add ( Add icon ) icon at the beginning of the condition line and select an attribute on which to base the condition.

    Conditions Combination - Choose to create another set of All/Any and True/False conditions inside the existing condition.

    Price rule conditions combination {width="500"}

    Product Attribute - The available product attributes depend on the setup of the attribute. For an attribute to show in the list, Use for Promo Rule Conditions for the attribute must be set to Yes in your storefront properties.

    • For Product Attribute, choose the attribute that you want to define as the base of the condition. For this example, the selected condition is Category.

      Price rule condition - line 2, part 2 {width="500"}

      The selected condition appears in the statement, followed by two more bold links. The options differ depending on the product attribute you select.

      After you set the attribute, it cannot be edited. To change the attribute, you must delete the line and add the new attribute. You can delete a condition line by clicking the Delete ( Delete icon icon at the end of the line.

    • Click is and choose the comparison operator that describes the condition for products to meet.

      For this example, the comparison operator is is. The available options depend on the attribute selected in the previous step and could include different comparison options. Options can include matching values, not including or including at least one of a value, and greater than, equal to, and less than a numerical amount. In this example, the options are is and is not.

    • Click and choose the attribute value upon which the condition is based. The options depend on the attribute’s setup.

      You might be prompted to select an option or enter a value for the condition. For this example, the field appears blank. To select your category(ies) for the rule, click the chooser icon ( Chooser icon ) to show your selection options. This rule is for Books, select the Books checkbox. The category number populates. To accept your category selections, click the green check mark icon ( Check mark icon ).

      Price rule condition - line 2, part 3 {width="500"}

      The selected item appears in the statement to complete the condition.

      Price rule condition - line 2, part 4 {width="500"}

      This example condition is complete. As stated, this condition means that any product in your Commerce catalog that has a defined category of Books (4) is eligible for this pricing rule. You can add more condition lines to further narrow your eligible products.

  2. To add another condition line to the statement, return to Step 1 and repeat the process until all desired conditions are complete.

    You can delete a line of the condition statement at any time by clicking the Delete ( Delete icon ) icon at the end of the line.