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

ACSD-63286: Products assigned to shared catalog need manual reindexing to appear

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
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

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:

  1. Set up RabbitMQ as the queue service.

  2. Create a shared catalog and assign it a company.

  3. Create a simple product and assign it to a category.

  4. Execute partial reindex.

    code language-none
    bin/magento cron:run --group=index --bootstrap=standaloneProcessStarted=1
    
  5. Use the following API request to assign the created product to the shared catalog pub/rest/all/V1/sharedCatalog/<id>/assignProducts:

    code language-none
    {
        "products":[{
            "sku": "24-MB06"
            }
        ]
    }
    
  6. Execute the following cron to clear up the queues and execute the partial reindex.

    code language-none
    bin/magento cron:run --group=consumers
    
    code language-none
    bin/magento cron:run --group=index --bootstrap=standaloneProcessStarted=1
    
  7. Log in to the frontend as a company user.

  8. Check the frontend category page. The newly assigned products are not visible.

  9. Execute a manual reindex:

    code language-none
    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:

To learn more about Quality Patches Tool, refer to:

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