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

ACSD-63574: Adding Bundle Product listing to block via Page Builder results in error

The ACSD-63574 patch fixes the issue where adding Bundle Product with Checkbox or Multi Select options to a block via Page Builder results in an error. This patch is available when the Quality Patches Tool (QPT) 1.1.59 is installed. The patch ID is ACSD-63574. 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.4-p10

Compatible with Adobe Commerce versions:

Adobe Commerce (all deployment methods) 2.4.4 - 2.4.4-p11

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 adding Bundle Product to a block using Page Builder, the product widget preview breaks and shows the error message We’re sorry, an error has occurred while generating this content. This issue occurs specifically when the bundle product includes Checkbox or Multi Select option types and indexer dimension mode is set to website_and_customer_group. The exception log shows the following error:

```
report.CRITICAL: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db_name.catalog_product_index_price_cg0_ws0' doesn't exist in /home/vendor/magento/framework/DB/Statement/Pdo/Mysql.php:90
```

Steps to reproduce:

  1. Go to Stores > Settings > Configuration.

  2. In the left panel, expand Catalog and select Catalog from the options below.

  3. Scroll down to the Price section and set Catalog Price Scope to Global.

  4. Set Indexer dimension mode to website_and_customer_group using below command:

    bin/magento indexer:set-dimensions-mode catalog_product_price website_and_customer_group

  5. Create a Bundle Product with a bundle option type Checkbox or Multi Select, and assign the product to a category.

  6. Go to Content > Blocks > Edit Content with Page Builder.

  7. Select the category to which the created product is assigned and try to Save.

Expected results:

Product added without errors.

Actual results:

Unable to add a product through Page Builder when the Bundle Product option type is Checkbox or Multi Select, and indexer dimension mode is set to website_and_customer_group. It throws the error: We’re sorry, an error has occurred while generating this content.

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