ACSD-63286: Products assigned to shared catalog need manual reindexing to appear
CREATED FOR:
- Experienced
- Admin
- Developer
The ACSD-63286 patch fixes the issue where products assigned to a shared catalog via API do not appear on the storefront until a manual reindex is executed. This patch is available when the Quality Patches Tool (QPT) 1.1.57 is installed. The patch ID is ACSD-63286. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.8.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.6-p6
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.6 - 2.4.6-p8
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
When products are assigned to a shared catalog via API, they don’t appear on the frontend after the partial indexer and consumer cron jobs run. However, they do appear after a manual full reindex.
Steps to reproduce:
-
Set up RabbitMQ as the queue service.
-
Create a shared catalog and assign it a company.
-
Create a simple product and assign it to a category.
-
Execute partial reindex.
bin/magento cron:run --group=index --bootstrap=standaloneProcessStarted=1
-
Use the following API request to assign the created product to the shared catalog
pub/rest/all/V1/sharedCatalog/<id>/assignProducts
:{ "products":[{ "sku": "24-MB06" } ] }
-
Execute the following cron to clear up the queues and execute the partial reindex.
bin/magento cron:run --group=consumers
bin/magento cron:run --group=index --bootstrap=standaloneProcessStarted=1
-
Log in to the frontend as a company user.
-
Check the frontend category page. The newly assigned products are not visible.
-
Execute a manual reindex:
bin/magento index:reindex
Expected results:
The product appears on the frontend without a manual reindex.
Actual results:
The product appears on the frontend only after manual 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: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide.