MDVA-44044: Product not displayed on category page after it is assigned to new website

The MDVA-44044 patch solves the issue where a product is not displayed on the category page after it is assigned to a new website. This patch is available when the Quality Patches Tool (QPT) 1.1.16 is installed. The patch ID is MDVA-44044. 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.2-p1

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.3.0 - 2.4.2-p2
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 is not displayed on the category page after it is assigned to a new website.

Steps to reproduce:

  1. Set the indexer mode to schedule.

  2. Create a secondary website, store, and store view.

  3. Add a secondary store code in index.php:

    code language-php
    $_SERVER["MAGE_RUN_CODE"]="en_us";
    $_SERVER["MAGE_RUN_TYPE"]="store";
    
  4. Create a new category.

  5. Create a new product assigned to the newly created category. Make sure to only assign it to the primary website.

  6. Run the cron.

  7. Open the category from the storefront.

  8. Assign the product to the secondary website.

  9. Run the cron again.

Expected results:

The product appears on the category page after a scheduled indexer.

Actual results:

The product does not appear on the category page until a full reindex.

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 Patches available in QPT in our developer documentation.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a