Commit 530b201c46 for woocommerce
commit 530b201c4686d6f7debdce4b30d816993fa66570
Author: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
Date: Thu Dec 11 08:46:07 2025 +0100
Product Gallery: call the block stable (#62278)
* Call the Product Gallery block stable
* Update block references
* Add changeog
* update docusaurus config due to failing CI markdown lint
diff --git a/docs/block-development/reference/block-references.md b/docs/block-development/reference/block-references.md
index b595f82979..e1e37f1a9e 100644
--- a/docs/block-development/reference/block-references.md
+++ b/docs/block-development/reference/block-references.md
@@ -1538,7 +1538,7 @@ Enable customers to filter the product collection by selecting one or more taxon
- **Supports:** color (text, ~~background~~), interactivity, spacing (blockGap, margin, padding), typography (fontSize, lineHeight)
- **Attributes:** displayStyle, hideEmpty, isPreview, showCounts, sortOrder, taxonomy
-## Product Gallery (Beta) - woocommerce/product-gallery
+## Product Gallery - woocommerce/product-gallery
Showcase your products relevant images and media.
diff --git a/plugins/woocommerce/changelog/wooplug-5796-product-gallery-call-the-block-stable b/plugins/woocommerce/changelog/wooplug-5796-product-gallery-call-the-block-stable
new file mode 100644
index 0000000000..839681c311
--- /dev/null
+++ b/plugins/woocommerce/changelog/wooplug-5796-product-gallery-call-the-block-stable
@@ -0,0 +1,4 @@
+Significance: minor
+Type: update
+
+Product Gallery: Call the block stable
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/product-gallery/block.json b/plugins/woocommerce/client/blocks/assets/js/blocks/product-gallery/block.json
index 4015fc025f..a256065674 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/product-gallery/block.json
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/product-gallery/block.json
@@ -2,7 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "woocommerce/product-gallery",
- "title": "Product Gallery (Beta)",
+ "title": "Product Gallery",
"description": "Showcase your products relevant images and media.",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
diff --git a/plugins/woocommerce/client/blocks/tests/e2e/tests/add-to-cart-with-options/add-to-cart-with-options.block_theme.spec.ts b/plugins/woocommerce/client/blocks/tests/e2e/tests/add-to-cart-with-options/add-to-cart-with-options.block_theme.spec.ts
index 85f59231ca..a9e6c46d6c 100644
--- a/plugins/woocommerce/client/blocks/tests/e2e/tests/add-to-cart-with-options/add-to-cart-with-options.block_theme.spec.ts
+++ b/plugins/woocommerce/client/blocks/tests/e2e/tests/add-to-cart-with-options/add-to-cart-with-options.block_theme.spec.ts
@@ -1064,7 +1064,7 @@ test.describe( 'Add to Cart + Options Block', () => {
await editor.selectBlocks( addToCartFormBlock );
await expect(
- editor.canvas.getByLabel( 'Block: Product Gallery (Beta)' )
+ editor.canvas.getByLabel( 'Block: Product Gallery' )
).toBeHidden();
await page
@@ -1074,7 +1074,7 @@ test.describe( 'Add to Cart + Options Block', () => {
.click();
await expect(
- editor.canvas.getByLabel( 'Block: Product Gallery (Beta)' )
+ editor.canvas.getByLabel( 'Block: Product Gallery' )
).toBeVisible();
} );
} );
diff --git a/plugins/woocommerce/client/blocks/tests/e2e/tests/product-gallery/product-gallery.block_theme.spec.ts b/plugins/woocommerce/client/blocks/tests/e2e/tests/product-gallery/product-gallery.block_theme.spec.ts
index 3c136ec395..9e58001457 100644
--- a/plugins/woocommerce/client/blocks/tests/e2e/tests/product-gallery/product-gallery.block_theme.spec.ts
+++ b/plugins/woocommerce/client/blocks/tests/e2e/tests/product-gallery/product-gallery.block_theme.spec.ts
@@ -11,7 +11,7 @@ import { ProductGalleryPage } from './product-gallery.page';
const blockData = {
name: 'woocommerce/product-gallery',
- title: 'Product Gallery (Beta)',
+ title: 'Product Gallery',
slug: 'single-product',
productPage: '/product/hoodie/',
};
@@ -379,7 +379,7 @@ test.describe( `${ blockData.name }`, () => {
.click();
const productGalleryBlock = editor.canvas.getByLabel(
- 'Block: Product Gallery (Beta)'
+ 'Block: Product Gallery'
);
await expect( productGalleryBlock ).toBeVisible();
diff --git a/plugins/woocommerce/client/blocks/tests/e2e/tests/product-image-gallery/product-image-gallery.block_theme.spec.ts b/plugins/woocommerce/client/blocks/tests/e2e/tests/product-image-gallery/product-image-gallery.block_theme.spec.ts
index c24b5aee5b..b0f5035df4 100644
--- a/plugins/woocommerce/client/blocks/tests/e2e/tests/product-image-gallery/product-image-gallery.block_theme.spec.ts
+++ b/plugins/woocommerce/client/blocks/tests/e2e/tests/product-image-gallery/product-image-gallery.block_theme.spec.ts
@@ -113,7 +113,7 @@ test.describe( `${ blockData.name } editor`, () => {
await editor.selectBlocks( productImageGalleryBlock );
await expect(
- editor.canvas.getByLabel( 'Block: Product Gallery (Beta)' )
+ editor.canvas.getByLabel( 'Block: Product Gallery' )
).toBeHidden();
await page
@@ -123,7 +123,7 @@ test.describe( `${ blockData.name } editor`, () => {
.click();
await expect(
- editor.canvas.getByLabel( 'Block: Product Gallery (Beta)' )
+ editor.canvas.getByLabel( 'Block: Product Gallery' )
).toBeVisible();
} );
} );