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
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:
-
Go to Stores > Settings > Configuration.
-
In the left panel, expand Catalog and select Catalog from the options below.
-
Scroll down to the Price section and set Catalog Price Scope to Global.
-
Set
Indexer dimension modetowebsite_and_customer_groupusing below command:bin/magento indexer:set-dimensions-mode catalog_product_price website_and_customer_group -
Create a Bundle Product with a bundle option type
CheckboxorMulti Select, and assign the product to a category. -
Go to Content > Blocks > Edit Content with Page Builder.
-
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:
- 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.