commerce icon indicating copy to clipboard operation
commerce copied to clipboard

[5.x]: Catalog pricing doesn't update for purchasables that meet condition after rule was created

Open tommysvr opened this issue 8 months ago • 1 comments

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

  1. Add a lightswitch field to your variant field layout
  2. Create a variant but leave the lightswitch disabled
  3. Create a Pricing Rule with a condition as below

Image

  1. 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

tommysvr avatar Jun 20 '25 03:06 tommysvr

Commerce 5.4.1.1 has been released with a fix for this included.

Thanks!

nfourtythree avatar Jul 10 '25 07:07 nfourtythree