ACSD-47937: price drop notifications not sent due to application-level caching
The ACSD-47937 patch fixes the issue where price drop notifications are not always sent due to application-level caching. This patch is available when the Quality Patches Tool (QPT) 1.1.26 is installed. The patch ID is ACSD-47937. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.6.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.4 and 2.4.5-p1
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.4, 2.4.5, and 2.4.5-p1
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
Customers are not getting product price drop email for subsequent product price changes.
Steps to reproduce:
-
Enable Product Alert for both Price Changes and Back in Stock in Store > Configuration > Catalog > Product Alert.
-
Enable Display Out of Stock Products.
-
Create a simple product (ABC) with qty = 0.
-
Create a customer from the storefront and subscribe to the above product to get product alerts for price drops.
-
Start the product alert for customers.
code language-php bin/magento queue:consumers:start product_alert
-
Drop the price for the ABC product.
-
Trigger the product alert cron.
code language-php php n98-magerun2.phar sys:cron:run catalog_product_alert
-
Drop the price for the ABC product again.
-
Trigger the product alert cron.
code language-php php n98-magerun2.phar sys:cron:run catalog_product_alert
bin/magento cron:run command
as usual and monitor cron_schedule
table to make sure catalog_product_alert
job gets success status.Expected results:
The second price drop email is sent.
Actual results:
The second price drop email is not sent.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in our support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in our support knowledge base.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.