This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

lucky7

  • **
  • 7 posts
How to remove condition and transaction from filter?
« on: October 02, 2024, 02:48:15 PM »
Dear community,

how to remove the fields condition and transaction from filter?

Kind regards
Lukas
« Last Edit: October 02, 2024, 03:24:51 PM by lucky7 »

*

MB Themes

Re: How to remove condition and transaction from filter?
« Reply #1 on: October 03, 2024, 03:23:23 PM »
You must edit search.php and get it out of there.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

lucky7

  • **
  • 7 posts
Re: How to remove condition and transaction from filter?
« Reply #2 on: October 04, 2024, 01:13:05 PM »
You must edit search.php and get it out of there.

Thank you for the suggestion, I've already thought about that.

I have commented out both functions <!-- CONDITION --> and <!-- TRANSACTION --> in search.php and deleted them completely as a test.

This only deactivated the filter function, but both filters are still displayed in the frontend.

Kind regards
Lukas

Marked as best answer by frosticek on October 07, 2024, 01:07:58 PM
*

MB Themes

Re: How to remove condition and transaction from filter?
« Reply #3 on: October 04, 2024, 03:03:20 PM »
Alternative way is to hide via css

Code: [Select]
#filter-line .simple-transaction {display:none;}
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

lucky7

  • **
  • 7 posts
Re: How to remove condition and transaction from filter?
« Reply #4 on: October 06, 2024, 03:37:20 PM »
Alternative way is to hide via css

Code: [Select]
#filter-line .simple-transaction {display:none;}



Thank you very much for your helpful answer

I have added the two lines to style.css and it works, many thanks.

#filter-line .simple-condition {display:none;}
#filter-line .simple-transaction {display:none;}