By default search by price works based on defined purpose “Sale “or “Rent”
By default Sale price is used, field ID #36
If user select purpose which contains word “Rent” then field ID #37 (Rent is used)
Only Rent price (excl.) is used for search, other is only used for information, to show on property preview page.
If you want to add new prices for search or customize this functionality, probably you should look into application\controllers\frontend.php, ajax method, code inside comment block:
/* Define purpose */
/* End define purpose */
Currently there is code to automatically change from sale price to rent if user select purpose which contain word “Rent”. You should do same thing for your new price/purpose.
Also don’t forget to enable filtering for your new price field in administration, guide: http://iwinter.com.hr/support/?p=5804
If you are not familiar with PHP I can provide customization for you (cost additional). Details: http://iwinter.com.hr/support/?page_id=1870
Related posts: