[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects (Adobe-managed PaaS infrastructure) and on-premises projects only."}

ACP2E-3753: Stock alert emails not using store-specific theme templates in multi-store setup

The ACP2E-3753 patch fixes the issue where product alert emails in a multi-store setup were always sent using the default theme, regardless of the store or theme configuration. This patch is available when the Quality Patches Tool (QPT) 1.1.65 is installed. The patch ID is ACP2E-3753. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.5-p11

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.4 - 2.4.7-p5
NOTE
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.

Issue

Product alert emails in a multi-store setup are always sent using the default theme, regardless of the store or theme configuration.

Steps to reproduce:

  1. Create two websites, stores and store views.

  2. Create two separate themes and assign these to different stores.

  3. Product alert setting is the default scope that runs every minute.

  4. Override/add some content to the stock.phtml file for both themes. Example of the file location:

    code language-none
    app\design\frontend\Adobe\Taiwan\Magento_ProductAlert\templates\email\stock.phtml
    app\design\frontend\Adobe\Japan\Magento_ProductAlert\templates\email\stock.phtml
    
  5. Create a user for each store and subscribe to the product stock alert.

  6. Trigger the product stock alert to send the emails.

Expected results:

The email should include the theme-level changes.

Actual results:

The emails don’t include the templates set in the respective website/store.

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:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3