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
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.


The product image is not displayed on the Back to Stock email template.

Steps to reproduce:

  1. Enable Product Alert for Back in Stock by going to Store > Configuration > Catalog > Product Alert > Allow Alert When Product Comes Back in Stock = Yes.

  2. Enable Display Out of Stock Products by going to Store > Configuration > Catalog > Inventory > Display Out of Stock = Yes.

  3. Create a simple product with qty = 0.

  4. Create a customer from the storefront and subscribe to the above product to get product alerts when in stock.

  5. Make the product in stock.

  6. Execute the product alert cron.

    code language-none
    n98-magerun2.phar sys:cron:run catalog_product_alert
  7. Start the product alert for the customer.

    code language-none
    bin/magento queue:consumers:start product_alert
  8. 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:

To learn more about Quality Patches Tool, refer to:

For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.