diff --git a/assets/js/blocks/classic-template/archive-product.ts b/assets/js/blocks/classic-template/archive-product.ts index 14a20e6582b..0e6bdab955a 100644 --- a/assets/js/blocks/classic-template/archive-product.ts +++ b/assets/js/blocks/classic-template/archive-product.ts @@ -7,6 +7,7 @@ import { type BlockInstance, } from '@wordpress/blocks'; import { isWpVersion } from '@woocommerce/settings'; +import { isExperimentalBuild } from '@woocommerce/block-settings'; import { __, sprintf } from '@wordpress/i18n'; /** @@ -74,7 +75,7 @@ const getBlockifiedTemplateWithTermDescription = ( const isConversionPossible = () => { // Blockification is possible for the WP version 6.1 and above, // which are the versions the Products block supports. - return isWpVersion( '6.1', '>=' ); + return isExperimentalBuild() && isWpVersion( '6.1', '>=' ); }; const getDescriptionAllowingConversion = ( templateTitle: string ) => diff --git a/assets/js/blocks/classic-template/product-search-results.ts b/assets/js/blocks/classic-template/product-search-results.ts index f2dcb32b69e..271e77e8ca6 100644 --- a/assets/js/blocks/classic-template/product-search-results.ts +++ b/assets/js/blocks/classic-template/product-search-results.ts @@ -8,6 +8,7 @@ import { type InnerBlockTemplate, } from '@wordpress/blocks'; import { isWpVersion } from '@woocommerce/settings'; +import { isExperimentalBuild } from '@woocommerce/block-settings'; import { __, sprintf } from '@wordpress/i18n'; /** @@ -122,7 +123,7 @@ const getBlockifiedTemplate = ( inheritedAttributes: InheritedAttributes ) => { const isConversionPossible = () => { // Blockification is possible for the WP version 6.1 and above, // which are the versions the Products block supports. - return isWpVersion( '6.1', '>=' ); + return isExperimentalBuild() && isWpVersion( '6.1', '>=' ); }; const getDescriptionAllowingConversion = ( templateTitle: string ) =>