This commit is contained in:
Albert Juhé Lluveras 2019-11-26 06:32:15 +01:00 committed by Albert Juhé Lluveras
parent c55a387657
commit f32011e2d3
3 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,7 @@ class HandpickedProducts extends AbstractProductGrid {
'orderby' => $this->get_schema_orderby(), 'orderby' => $this->get_schema_orderby(),
'products' => $this->get_schema_list_ids(), 'products' => $this->get_schema_list_ids(),
'contentVisibility' => $this->get_schema_content_visibility(), 'contentVisibility' => $this->get_schema_content_visibility(),
'isPreview' => $this->get_schema_boolean( false ),
); );
} }
} }

View File

@ -55,6 +55,7 @@ class ProductTag extends AbstractProductGrid {
'type' => 'string', 'type' => 'string',
'default' => 'any', 'default' => 'any',
), ),
'isPreview' => $this->get_schema_boolean( false ),
); );
} }
} }

View File

@ -74,6 +74,7 @@ class ProductsByAttribute extends AbstractProductGrid {
'editMode' => $this->get_schema_boolean( true ), 'editMode' => $this->get_schema_boolean( true ),
'orderby' => $this->get_schema_orderby(), 'orderby' => $this->get_schema_orderby(),
'rows' => $this->get_schema_number( wc_get_theme_support( 'product_blocks::default_rows', 1 ) ), 'rows' => $this->get_schema_number( wc_get_theme_support( 'product_blocks::default_rows', 1 ) ),
'isPreview' => $this->get_schema_boolean( false ),
); );
} }
} }