Jump to content

Create Clear All Filters in Layered Navigation


Recommended Posts

Hi RasdyCute,

 

 

If you are using the default theme, You can use below code what I made.

 

Open the "blocklayered.tpl" under the your themes/blocklayered

 

and Find Line 34: it looks like below:

<div id="enabled_filters">
	<span class="layered_subtitle" style="float: none;">
		{l s='Enabled filters:' mod='blocklayered'}
	</span>

and add this line:

<a href="{$smarty.get.id_category}">Clear All</a>

after add the line, it looks like below:

<div id="enabled_filters">
	<span class="layered_subtitle" style="float: none;">
		{l s='Enabled filters:' mod='blocklayered'}
	</span>
	<a href="{$smarty.get.id_category}">Clear All</a>
  • Like 2
  • Thanks 2
Link to comment
Share on other sites

×
×
  • Create New...