*

kriskoyk

  • *****
  • 315 posts
Show all features in the search
« on: February 16, 2022, 08:45:46 PM »
Is it possible to appear in the search of all attributes regardless of category in the sidebar, since there is only one category? And how is this done?

*

MB Themes

Re: Show all features in the search
« Reply #1 on: February 18, 2022, 02:30:30 PM »
@kriskoyk
You will have to edit plugin files. In functions.php find:
Code: [Select]
function atr_search_form($catId = '') {
  $html = '';
  $cat_id = isset($catId[0]) ? $catId[0] : '';

  if($catId <= 0) {
    return false;
  }


Replace with:
Code: [Select]
function atr_search_form($catId = '') {
  $html = '';
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

kriskoyk

  • *****
  • 315 posts
Re: Show all features in the search
« Reply #2 on: February 20, 2022, 09:43:51 PM »
The issue with the appearance was resolved and thank you.

I have put two features with two subcategories. The type is Control Panels. When I search and select both categories, there are no results. If I make premium ads, then I have the results. Any idea what's wrong?

*

MB Themes

Re: Show all features in the search
« Reply #3 on: February 21, 2022, 12:51:16 PM »
Depends how search threat multiselection.
It can be "match to all selected" or "match to any of selected".
Check attribute settings.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

kriskoyk

  • *****
  • 315 posts
Re: Show all features in the search
« Reply #4 on: February 21, 2022, 03:46:56 PM »
I have done this, with all the alternatives but to no avail. I only get results if I make premioum ads

*

MB Themes

Re: Show all features in the search
« Reply #5 on: February 21, 2022, 04:36:30 PM »
@kriskoyk
Does not make sense.
You will have to review SQL queries on search page or reproduce issue on demo site.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

kriskoyk

  • *****
  • 315 posts
Re: Show all features in the search
« Reply #6 on: February 21, 2022, 10:52:48 PM »
It is rather a matter of operation of the add-on. When we check in the search all the features and the ad has only one of them then the ad does not appear, unless it is premium. I think this is not right because the user wants all the results of the ads even if an ad has only one feature of what he checked in the search.

*

MB Themes

Re: Show all features in the search
« Reply #7 on: February 22, 2022, 09:15:38 AM »
Premium listings are surely not impacted by plugin, there will be no filtering at all on premiums.
I would say you have configured attribute incorrectly or you expecting something that is not provided by plugin.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

kriskoyk

  • *****
  • 315 posts
Re: Show all features in the search
« Reply #8 on: February 22, 2022, 12:36:28 PM »
Ok. Thanks for the answers. Yes, it is indeed an item I request and which can not provide this add-on. Maybe in a future version.

*

MB Themes

Re: Show all features in the search
« Reply #9 on: February 22, 2022, 01:06:21 PM »
Describe in detail what you mean and maybe...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

kriskoyk

  • *****
  • 315 posts
Re: Show all features in the search
« Reply #10 on: February 22, 2022, 03:25:23 PM »
I mean in the future in a new version other features can be added to the add-on, including the one I wanted.