Fix Filter by Price block making a 404 request in the frontend (https://github.com/woocommerce/woocommerce-blocks/pull/9481)
This commit is contained in:
parent
150cde7d56
commit
4c8baca475
|
@ -14,4 +14,13 @@ class PriceFilter extends AbstractBlock {
|
||||||
protected $block_name = 'price-filter';
|
protected $block_name = 'price-filter';
|
||||||
const MIN_PRICE_QUERY_VAR = 'min_price';
|
const MIN_PRICE_QUERY_VAR = 'min_price';
|
||||||
const MAX_PRICE_QUERY_VAR = 'max_price';
|
const MAX_PRICE_QUERY_VAR = 'max_price';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the frontend script handle for this block type.
|
||||||
|
*
|
||||||
|
* @param string $key Data to get, or default to everything.
|
||||||
|
*/
|
||||||
|
protected function get_block_type_script( $key = null ) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue