ACSD-48366: product image not displayed on Back to Stock email template
The ACSD-48366 patch fixes the issue where the product thumbnail image is not displayed in the product’s stock alert email. This patch is available when the Quality Patches Tool (QPT) 1.1.26 is installed. The patch ID is ACSD-48366. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.7.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.5
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.4 - 2.4.6
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
The product image is not displayed on the Back to Stock email template.
Steps to reproduce:
-
Enable Product Alert for Back in Stock by going to Store > Configuration > Catalog > Product Alert > Allow Alert When Product Comes Back in Stock = Yes.
-
Enable Display Out of Stock Products by going to Store > Configuration > Catalog > Inventory > Display Out of Stock = Yes.
-
Create a simple product with qty = 0.
-
Create a customer from the storefront and subscribe to the above product to get product alerts when in stock.
-
Make the product in stock.
-
Execute the product alert cron.
code language-none n98-magerun2.phar sys:cron:run catalog_product_alert
-
Start the product alert for the customer.
code language-none bin/magento queue:consumers:start product_alert
-
Check the email. Stock alert email should now be available in the mail catcher.
Expected results:
The product image is displayed in the stock alert email.
Actual results:
The product image is not available in the stock alert email.
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 the support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in the Quality Patches Tool guide.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.