commerce
commerce copied to clipboard
[5.x]: Catalog pricing doesn't update for purchasables that meet condition after rule was created
What happened?
Description
If you have catalog pricing rule that has conditions, prices don't update for purchasables that meet the condition after the rule was created.
Steps to reproduce
- Add a lightswitch field to your variant field layout
- Create a variant but leave the lightswitch disabled
- Create a Pricing Rule with a condition as below
- In the variant you created, now enable the lightswitch
Expected behavior
The variant price is updated as per the pricing rule
Actual behavior
The variant price is not updated
Craft CMS version
5.7.10
Craft Commerce version
5.3.13
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response
Commerce 5.4.1.1 has been released with a fix for this included.
Thanks!