Update filter blocks descriptions to explain they only work with the All Products block (https://github.com/woocommerce/woocommerce-blocks/pull/1420)

This commit is contained in:
Albert Juhé Lluveras 2019-12-19 13:46:30 +01:00 committed by GitHub
parent 15dbc627c1
commit 548b2b80a9
4 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ registerBlockType( 'woocommerce/active-filters', {
category: 'woocommerce', category: 'woocommerce',
keywords: [ __( 'WooCommerce', 'woo-gutenberg-products-block' ) ], keywords: [ __( 'WooCommerce', 'woo-gutenberg-products-block' ) ],
description: __( description: __(
'Display a list of active product filters.', 'Display a list of active product filters. Works in combination with the Filter Products by Price and Filter Products by Attribute blocks.',
'woo-gutenberg-products-block' 'woo-gutenberg-products-block'
), ),
supports: { supports: {

View File

@ -20,7 +20,7 @@ registerBlockType( 'woocommerce/attribute-filter', {
category: 'woocommerce', category: 'woocommerce',
keywords: [ __( 'WooCommerce', 'woo-gutenberg-products-block' ) ], keywords: [ __( 'WooCommerce', 'woo-gutenberg-products-block' ) ],
description: __( description: __(
'Display a list of filters based on a chosen product attribute.', 'Display a list of filters based on a chosen product attribute. Works in combination with the All Products block.',
'woo-gutenberg-products-block' 'woo-gutenberg-products-block'
), ),
supports: { supports: {

View File

@ -20,7 +20,7 @@ registerBlockType( 'woocommerce/price-filter', {
category: 'woocommerce', category: 'woocommerce',
keywords: [ __( 'WooCommerce', 'woo-gutenberg-products-block' ) ], keywords: [ __( 'WooCommerce', 'woo-gutenberg-products-block' ) ],
description: __( description: __(
'Display a slider to filter products in your store by price.', 'Display a slider to filter products in your store by price. Works in combination with the All Products block.',
'woo-gutenberg-products-block' 'woo-gutenberg-products-block'
), ),
supports: { supports: {

View File

@ -67,7 +67,7 @@ Display a slider to filter products in your store by price. Works in combination
Display a list of filters based on a chosen product attribute. Works in combination with the _All Products_ block. Requires WordPress 5.3. Display a list of filters based on a chosen product attribute. Works in combination with the _All Products_ block. Requires WordPress 5.3.
**Active Product Filters** **Active Product Filters**
Display a list of active product filters. Works in combination with the _Filter Products by Price_ and _Filter Products by Attribute_ block. Requires WordPress 5.3. Display a list of active product filters. Works in combination with the _Filter Products by Price_ and _Filter Products by Attribute_ blocks. Requires WordPress 5.3.
We've also improved the category selection filter. If you select two or more categories, you can now chose to show products that include ANY or ALL selected categories. We've also improved the category selection filter. If you select two or more categories, you can now chose to show products that include ANY or ALL selected categories.