Answer the question
In order to leave comments, you need to log in
How to make a product filter reset button in Woocommerce?
Hello, in standard woocommerce filters there is no button to reset the filter, please tell me the solution, how to implement it?
Answer the question
In order to leave comments, you need to log in
Hold this option
1) You will insert this into the header of the site
<?php $filterreset = $_SERVER['REQUEST_URI'];
$filterreset = strtok($filterreset, '?'); ?>
<a href="<?php echo $filterreset; ?>">Сбросить фильтр</a>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question