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, you can create a discount for a midnight madness sale that begins at 12 AM and ends at 2:00 AM
Example
Consider a Date Condition element
that is used in a price rule with two branches that start from a Condition
Branch element:
- Branch 1: A Date Condition element is set to Sunday from 1:00 to 2:00 PM and gives a 10% off discount on the offer price.
- Branch 2: No condition, no discount on the offer price.