Support Forums - Classified Ads Script Osclass
Osclass plugin support => Attributes Plugins => Topic started by: kriskoyk 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?
-
@kriskoyk
You will have to edit plugin files. In functions.php find:
function atr_search_form($catId = '') {
$html = '';
$cat_id = isset($catId[0]) ? $catId[0] : '';
if($catId <= 0) {
return false;
}
Replace with:
function atr_search_form($catId = '') {
$html = '';
-
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?
-
Depends how search threat multiselection.
It can be "match to all selected" or "match to any of selected".
Check attribute settings.
-
I have done this, with all the alternatives but to no avail. I only get results if I make premioum ads
-
@kriskoyk
Does not make sense.
You will have to review SQL queries on search page or reproduce issue on demo site.
-
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.
-
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.
-
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.
-
Describe in detail what you mean and maybe...
-
I mean in the future in a new version other features can be added to the add-on, including the one I wanted.