(Enterprise)Conditions in price rules
You might need to set prices differently within a single price rule depending on certain conditions. If so, add condition elements to your price rule. Your price rule must contain a Condition Branch to create a separate path for each condition element.
Condition Function
Used to set prices differently for specific categories or catalog entries in the catalog.
Used to set prices differently for customers depending on the member groups or organizations to which they belong.
Used to set prices differently depending on the result of a comparison of two prices or values.
Used to check a price list you specify to determine if it contains a price for the catalog entries that the price rule handles.
Used to set the start and end points for dates and times in discount pricing requests.
- Catalog Condition
Use this condition in a price rule to set prices differently for specific catalog entries or categories. For example, we can calculate prices differently for pants versus shirts, or for Brand A versus Brand B. By using catalog conditions, we can to use two or more different price lists in the same price rule. We can specify the categories or catalog entries directly in the Catalog Condition element, or we can use an existing catalog filter.- Customer Condition
Use this condition in a price rule to set prices differently based on the member groups or organizations to which customers belong. For example, you could create a price rule that gives customers in the Tier A member group lower prices than customers in the Tier B member group.- Comparison Condition
Use this condition in a price rule to set prices differently based on the outcome of a comparison. For example, we might want to compare your offer price to a competitor's offer price; if your price is higher, we can use the price rule to mark down your price. We must provide the Comparison Condition element with the two values or prices to compare, and specify how to compare them.- Price List Condition
Use this condition in a price rule if you have two or more price lists and we want the price rule to determine which price list to use. For each catalog entry that is being priced, the price rule checks the price list specified in each Price List Condition, starting with the top path. When a price for the catalog entry is found, the price rule uses the actions on that path to set the price.- Date Condition
Use this condition in a price rule if you need to add a condition based on date and time. This condition defines the start date and end date, the days in the week, and the time of day when the date condition is effective. For example, we can create a discount for a midnight madness sale that begins at 12 AM and ends at 2:00 AM
Related concepts
Condition Branch in a price rule
Related tasks
Creating a price rule that contains branching with conditions