This page has moved to Adobe Experience League and will be redirected soon.
ACSD-48366: product image not displayed on [!UICONTROL Back to Stock] email template
ACSD-48366: product image not displayed on [!UICONTROL 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 [!DNL 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
NOTE
The patch might become applicable to other versions with new [!DNL 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 QPT landing page. Use the patch ID as a search keyword to locate the patch.
Issue
The product image is not displayed on the [!UICONTROL Back to Stock] email template.
Steps to reproduce:
-
Enable [!UICONTROL Product Alert] for [!UICONTROL Back in Stock] by going to [!UICONTROL Store] > [!UICONTROL Configuration] > [!UICONTROL Catalog] > [!UICONTROL Product Alert] > [!UICONTROL Allow Alert When Product Comes Back in Stock] = [!UICONTROL Yes].
-
Enable [!UICONTROL Display Out of Stock Products] by going to [!UICONTROL Store] > [!UICONTROL Configuration] > [!UICONTROL Catalog] > [!UICONTROL Inventory] > [!UICONTROL Display Out of Stock] = [!UICONTROL 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.
n98-magerun2.phar sys:cron:run catalog_product_alert
-
Start the product alert for the customer.
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:
To learn more about [!DNL Quality Patches Tool], refer to:
For info about other patches available in QPT, refer to [!DNL Quality Patches Tool]: Search for patches in the [!DNL Quality Patches Tool] guide.