Prevent showing the blockified templates util they are implemented (https://github.com/woocommerce/woocommerce-blocks/pull/6682)
This commit is contained in:
parent
678fa6bff0
commit
5b50d37028
|
@ -299,8 +299,9 @@ class BlockTemplatesController {
|
|||
|
||||
foreach ( $template_files as $template_file ) {
|
||||
// Skip the template if it's blockified, and we should only use classic ones.
|
||||
if ( $this->package->is_experimental_build() &&
|
||||
! BlockTemplateUtils::should_use_blockified_product_grid_templates() &&
|
||||
// Until the blockified Product Grid Block is implemented, we need to always skip the blockified templates.
|
||||
if ( // $this->package->is_experimental_build() &&
|
||||
// ! BlockTemplateUtils::should_use_blockified_product_grid_templates() &&
|
||||
strpos( $template_file, 'blockified' ) !== false ) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue