The MDVA-24201 Magento patch solves the issue where active catalog price rules in the database do not apply on the frontend.
This patch is available when the Magento Quality Patch (MQP) tool 1.0.14 is installed. Please note that the issue was fixed in Magento version 2.3.5.
Affected products and versions
The patch is created for Magento version:
Magento Commerce Cloud 2.3.3
Compatible with Magento versions:
Magento Commerce Cloud and Magento Commerce 2.3.0 - 2.3.4-p2
Note: the patch can be applicable to other versions. To check if the patch is compatible with your Magento version, run ./vendor/bin/magento-patches status
.
Issue
Prerequisite:
Install a fresh Magento instance with sample data.
Steps to reproduce:
- Log in to Admin panel > Marketing > Catalog Price Rule > Add New Rule, make the following settings:
- Set the Rule Name.
- Set Active = No.
- Set Conditions: Category = 4. (Example: Bags)
- Set Actions:
- Set Apply as percentage of original.
- Set Discount Amount = 10.
- Click on Schedule New Update:
- Set the Rule Name.
- Set Active = Yes.
- Save.
- Go to the backend, and run:
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 Magento product:
- Magento Commerce: DevDocs Software Update Guide > Apply Patches.
- Magento Commerce Cloud: DevDocs Upgrades and Patches > Apply Patches.
Related reading
To learn more about Magento Quality Patches, refer to:
- Magento Quality Patches released: a new tool to self-serve quality patches.
- Check patch for Magento issue with Magento Quality Patches.
For info about other patches available in MQP tool, refer to the Patches available in MQP tool section.