Reset Facets

Add a basic “Reset” button

Paste the following into an HTML widget, HTML block, or directly into your PHP template file:

<button onclick="FWP.reset()">Reset</button>

All reset options

Reset all facets:

FWP.reset();

Or reset one facet:

FWP.reset('make');

Or reset multiple facets:

FWP.reset(['make', 'model', 'year']);

Or reset individual values:

FWP.reset({ 'make': 'audi' });