Error 'Date to' must be greater than 'Date from' when creating pricing rules
ID: 1114921
Backlog
Published on 10/10/2024
•
Last update on 10/10/2024
Summary
When creating a new price rule at https://{accountName}.myvtex.com/admin/pricing/#/trade-policies-rules the merchant can select the date range this rule will apply. Sometimes the error "TO value must be greater than FROM" appears when selecting an end date, even when the value is already greater.
Simulation
- Go to price rules
- Create a new rule with a valid date range (select a week range for instance)
- Check that the error will appear.
Workaround
Selecting greater end dates usually solves the problem (like a year ahead).