- Posts: 21
- Thank you received: 0
OS Property support center
Quick Search module show "Call for price" property
- Stefano
- Topic Author
- Offline
- Junior Member
-
Less
More
10 years 10 months ago #46756
by Stefano
Quick Search module show "Call for price" property was created by Stefano
Hello!
I've set some price filters in OS Property Quick Search module.
Anyway, if I search by lower price, in search results I can see also the "Call for price" properties but I don't want that they're displayed.
What can I do for hiding these properties from Quick Search module research?
Is it possible to create a "Price range" filter that can select only "Call for price" properties?
Thanks
I've set some price filters in OS Property Quick Search module.
Anyway, if I search by lower price, in search results I can see also the "Call for price" properties but I don't want that they're displayed.
What can I do for hiding these properties from Quick Search module research?
Is it possible to create a "Price range" filter that can select only "Call for price" properties?
Thanks
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13058
- Thank you received: 1696
10 years 10 months ago #46761
by Mr. Dam
Replied by Mr. Dam on topic Quick Search module show "Call for price" property
Hi Stefano,
You mean you only want to search properties that have price > 0. And the search function won't return the properties that have "Call for price" option, right?
Thanks
Dam
You mean you only want to search properties that have price > 0. And the search function won't return the properties that have "Call for price" option, right?
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Stefano
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
10 years 10 months ago #46763
by Stefano
Replied by Stefano on topic Quick Search module show "Call for price" property
Right

Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13058
- Thank you received: 1696
10 years 10 months ago #46768
by Mr. Dam
Replied by Mr. Dam on topic Quick Search module show "Call for price" property
OK, please follow this step
open file: components > com_osproperty > classes > listing.php
find
if($min_price > 0){
$where .= " AND a.price >= '$min_price'";
}
and change to
$where .= " AND a.price_call = '0'";
if($min_price > 0){
$where .= " AND a.price >= '$min_price'";
}
Good luck
Dam
open file: components > com_osproperty > classes > listing.php
find
if($min_price > 0){
$where .= " AND a.price >= '$min_price'";
}
and change to
$where .= " AND a.price_call = '0'";
if($min_price > 0){
$where .= " AND a.price >= '$min_price'";
}
Good luck
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.