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
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:
-
Set the indexer mode to schedule.
-
Create a secondary website, store, and store view.
-
Add a secondary store code in
index.php
:code language-php $_SERVER["MAGE_RUN_CODE"]="en_us"; $_SERVER["MAGE_RUN_TYPE"]="store";
-
Create a new category.
-
Create a new product assigned to the newly created category. Make sure to only assign it to the primary website.
-
Run the cron.
-
Open the category from the storefront.
-
Assign the product to the secondary website.
-
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:
- Adobe Commerce or Magento Open Source on-premises: Software Update Guide > Apply Patches in our developer documentation.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in our developer documentation.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in our support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in our support knowledge base.
For info about other patches available in QPT, refer to Patches available in QPT in our developer documentation.