Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x]: Pricing rules can't be disabled #3515

Closed
mikesnoeren opened this issue May 22, 2024 · 3 comments
Closed

[5.x]: Pricing rules can't be disabled #3515

mikesnoeren opened this issue May 22, 2024 · 3 comments

Comments

@mikesnoeren
Copy link

What happened?

Description

When disabling a pricing rule by either settings it's status to disabled, or unchecking "Enable this rule", the pricing rule is still active. Both in the CMS, and in the front-end.

Steps to reproduce

  1. Create Pricing Rule (-10%)
  2. Check if pricing rule works
  3. Disable pricing rule in CMS
  4. Check in CMS, or on front-end, to see the pricing rule is still on.

Craft CMS version

5.1.4

Craft Commerce version

5.0.6

PHP version

8.2.15

Operating system and version

Linux 6.7.10-orbstack-00140-g04c64cb35a2e

Database type and version

MySQL 8.0.33

Image driver and version

GD 8.2.15

Installed plugins and versions

No response

Copy link

linear bot commented May 22, 2024

@nfourtythree nfourtythree self-assigned this May 22, 2024
@nfourtythree
Copy link
Contributor

Hi @mikesnoeren

Thank you for bringing this to our attention, we have pushed a fix which will be included in the next release of Commerce 5.

Thanks!

@nfourtythree
Copy link
Contributor

Commerce 5.0.7 has been released with this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants