Filters: How to always dispaly the reset button

  • Posts: 145
  • Thank you received: 12
  • Hikashop Business
1 year 2 months ago #349266

-- url of the page with the problem -- : rolex.ahriise.com/collection
-- HikaShop version -- : 4.7.1
-- Joomla version -- : 4.2.7
-- PHP version -- : 8.1.13

Hello,

I have again a question.

How can I get the reset button always displayed and not displayed only wihen you have clicked on "View results"?

Thanks in advance

Sandra

Please Log in or Create an account to join the conversation.

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
1 year 2 months ago #349270

Hi,

Go in the menu Display>Views and edit the view file product / filter.php
There remove the code:

if(!$filterActivated)
		$this->showResetButton = false;
That way, the reset button will always be displayed.

The following user(s) said Thank You: Sandra74

Please Log in or Create an account to join the conversation.

  • Posts: 145
  • Thank you received: 12
  • Hikashop Business
1 year 2 months ago #349277

Thanks a lot Nicolas. It's perfect!

Sandra

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum