Delete the listing price filter

Hello. Is it possible to delete the ‘listing filter’ that appears when searching for listings?

Hi,

If you mean deleting all the search filters in the sidebar, then you need to disable the “filterable” feature for all attributes.

For example, if you have a search filter “Price”, go to the WP Dashboard>Listings>Attributes>Price and uncheck the “filterable” option.

Then do the same thing for all other attributes.

1 Like

Resolved! Thank you for your help.

Hello. Is it possible to turn off the fees filter?

Hi,

Please clarify what “fees” filter you mean. Are you using the Marketplace extension + WooCommerce?

1 Like

Sorry, it was. It was ‘Price’, not ‘fees’. the Marketplace extension + WooCommerce enabled.

Please try this PHP snippet

add_filter(
	'hivepress/v1/forms/listing_filter',
	function ( $form ) {
		if(isset($form['fields']['price'])){
			unset($form['fields']['price']);
		}
		
		return $form;
	},
	1000
);
1 Like

Thank you!!! It was very helpful.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.