MDVA-24201: Catalog price rules don’t work

The MDVA-24201 patch solves the issue where active catalog price rules in the database do not apply on the frontend.

This patch is available when the Quality Patches Tool (QPT) 1.0.14 is installed. Please note that the issue was fixed in Adobe Commerce version 2.3.5.

Affected products and versions

The patch is created for Adobe Commerce version: Adobe Commerce on cloud infrastructure 2.3.3

Compatible with Adobe Commerce versions: Adobe Commerce on cloud infrastructure and Adobe Commerce on-premises 2.3.0 - 2.3.4-p2

NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

Prerequisite:

Install a fresh Magento instance with sample data.

Steps to reproduce:

  1. Log in to Admin panel > Marketing > Catalog Price Rule > Add New Rule, make the following settings:

    1. Set the Rule Name.

    2. Set Active = No.

    3. Set Conditions: Category = 4. (Example: Bags)

    4. Set Actions:

      1. Set Apply as percentage of original.
      2. Set Discount Amount = 10.
      3. Save, and then Continue Edit.
    5. Click on Schedule New Update:

      • Set the Rule Name.
      • Set Active = Yes.
      • Save.
  2. Go to the backend, and run:

    php bin/magento cron:run

Expected results:

The prices of the products in category 4 “Bags” should be reduced by 10% of original price, as it was set by the catalog price rule, as expected.

Actual results:

No price changes occur even though the catalog price rule is active.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

For info about other patches available in QPT, refer to the Patches available in QPT section.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a