Commit 9f0addb547c for woocommerce

commit 9f0addb547cc1b75d85cef0e0ce1bbac78b03054
Author: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
Date:   Wed Aug 5 16:57:54 2026 +0200

    Fix Mini-Cart inner block registration (#67416)

    * Fix Mini-Cart inner block registration

    * Add changelog entry for Mini-Cart registration fix

    * Add Mini-Cart editor regression coverage

    * Remove redundant Mini-Cart test comment

diff --git a/plugins/woocommerce/changelog/codex-fix-mini-cart-inner-block-registration b/plugins/woocommerce/changelog/codex-fix-mini-cart-inner-block-registration
new file mode 100644
index 00000000000..2bd110911fc
--- /dev/null
+++ b/plugins/woocommerce/changelog/codex-fix-mini-cart-inner-block-registration
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Restore Mini-Cart inner blocks in the Site Editor.
diff --git a/plugins/woocommerce/client/blocks/package.json b/plugins/woocommerce/client/blocks/package.json
index 5164810c588..8234d21f2dc 100644
--- a/plugins/woocommerce/client/blocks/package.json
+++ b/plugins/woocommerce/client/blocks/package.json
@@ -27,6 +27,7 @@
 		"./assets/js/blocks/checkout/inner-blocks/register-components.ts",
 		"./assets/js/blocks/cart/inner-blocks/**/index.tsx",
 		"./assets/js/blocks/cart/inner-blocks/register-components.ts",
+		"./assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/**/index.tsx",
 		"./assets/js/base/components/**/*.{tsx,ts}",
 		"./assets/js/blocks/cart-checkout-shared/sidebar-notices/index.tsx",
 		"./assets/js/blocks/cart-checkout-shared/view-switcher/index.tsx",
diff --git a/plugins/woocommerce/tests/e2e/tests/blocks/mini-cart/mini-cart-block.merchant.block_theme.spec.ts b/plugins/woocommerce/tests/e2e/tests/blocks/mini-cart/mini-cart-block.merchant.block_theme.spec.ts
index 7dd407ea4c2..3f317dadafe 100644
--- a/plugins/woocommerce/tests/e2e/tests/blocks/mini-cart/mini-cart-block.merchant.block_theme.spec.ts
+++ b/plugins/woocommerce/tests/e2e/tests/blocks/mini-cart/mini-cart-block.merchant.block_theme.spec.ts
@@ -57,5 +57,25 @@ test.describe( 'Merchant → Mini Cart', () => {
 			await expect( miniCartButton ).toBeVisible();
 			await expect( miniCartButton ).toBeDisabled();
 		} );
+
+		test( 'renders filled and empty views in the Mini-Cart template part', async ( {
+			editor,
+			admin,
+		} ) => {
+			await admin.visitSiteEditor( {
+				postType: 'wp_template_part',
+			} );
+			await editor.openTemplate( { templateName: 'Mini-Cart' } );
+
+			const filledMiniCart = await editor.getBlockByName(
+				'woocommerce/filled-mini-cart-contents-block'
+			);
+			const emptyMiniCart = await editor.getBlockByName(
+				'woocommerce/empty-mini-cart-contents-block'
+			);
+
+			await expect( filledMiniCart ).toBeVisible();
+			await expect( emptyMiniCart ).toBeAttached();
+		} );
 	} );
 } );