PHP Real Estate Script Member Forums: Classifieds, FSBO, Agents

Welcome, Guest. Please login or register.

News: PHP REC Member Forums are now live (06/15/08)!
+  PHP Real Estate Script Forums: Classifieds, FSBO, Agents
|-+  PHP REC Version 7
| |-+  Skins/Template Support (Version 7)
| | |-+  Adjusting min/max price search fields
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Adjusting min/max price search fields  (Read 1393 times)
PHP Sales
PHP REC Developer
Jr. Member
********
Posts: 79


View Profile
« on: July 09, 2008, 01:16:21 PM »

Common Question: Can you tell me where I can make adjustments to the min price field when doing an advanced search? I do not want any number below 500,000 to be an option.

Logged
PHP Sales
PHP REC Developer
Jr. Member
********
Posts: 79


View Profile
« Reply #1 on: July 09, 2008, 01:23:22 PM »

Below is directions on how to adjust this for both the quick search and advanced search.

How to adjust the quick search
1. Open /content/boxes/quicksearch.php
2. Around line # 36 find:
Code:
if($i<=$fromMax){
3. Replace with:
Code:
if($i<=$fromMax && $i>=500000){
Note: 500,000 would be the min shown.
4. Save and close file
5. Upload to web server via FTP over older version

How to adjust the advanced search
1. Open /content/storyboxes/advancedsearch.php
2. Around line # 108 find:
Code:
if($i<=$fromMax){
3. Replace with:
Code:
if($i<=$fromMax && $i>=500000){
Note: 500000 would be the min shown.
4. Save and close file
5. Upload to web server via FTP over older version


Logged
LuxuryHousesUSA
Newbie
*
Posts: 31


View Profile WWW
« Reply #2 on: July 09, 2008, 01:43:29 PM »

Perfect! Thank you so much
Logged
snoe
Newbie
*
Posts: 21


View Profile
« Reply #3 on: August 20, 2008, 11:14:49 AM »

That's perfect for price. How is this done for bedrooms and bathrooms?
Logged
PHP Sales
PHP REC Developer
Jr. Member
********
Posts: 79


View Profile
« Reply #4 on: September 11, 2008, 05:54:59 PM »

Had a client ask how to change the starting price. To do this you would want to modify the $increment variable in the same file.

How to change the default starting price

1. Open /content/boxes/quicksearch.php
2. Around line #26 find:
Code:
$increment = 25000;
3. Adjust value as needed (e.g.):
Code:
$increment = 200;
4. Save and close file.
5. Upload to web server over older file.
Logged
Happy Bunny
Newbie
*
Posts: 3


View Profile
« Reply #5 on: December 20, 2009, 07:11:31 AM »

please could you tell me what code is required if I do not want a drop down option for the min and max prices ie if I want the customer to enter these details themselves

Below is directions on how to adjust this for both the quick search and advanced search.

How to adjust the quick search
1. Open /content/boxes/quicksearch.php
2. Around line # 36 find:
Code:
if($i<=$fromMax){
3. Replace with:
Code:
if($i<=$fromMax && $i>=500000){
Note: 500,000 would be the min shown.
4. Save and close file
5. Upload to web server via FTP over older version

How to adjust the advanced search
1. Open /content/storyboxes/advancedsearch.php
2. Around line # 108 find:
Code:
if($i<=$fromMax){
3. Replace with:
Code:
if($i<=$fromMax && $i>=500000){
Note: 500000 would be the min shown.
4. Save and close file
5. Upload to web server via FTP over older version



Logged
Pages: [1] Print 
« previous next »
Jump to: