OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Price list
#7034
menugeo (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Price list 3 Years, 7 Months ago Karma: 0  
Price list

Quero change the price list in the module: mod_realestatemanager_search_2_2_PRO_2012_08_25

I have to change the amounts for: 0, 250, 500, 1000, 1500, 2000, 2500 3000, 3500, 4000, 4500, 5000, 10000, 15000, 20000
I have to do?
I hope your help.
Thank you!
 
Logged Logged  
  The administrator has disabled public write access.
#7042
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:Price list 3 Years, 7 Months ago Karma: 61  
Hello,

Please go to file
{yours site}/modules/mod_realestatemanager_search/mod_realestatemanagersearch.php

There are find row
Code:

for($i=0; $i<=$max_price+10000; $i=$i+10000){
    $price[] = mosHTML :: makeOption($i, $i);
    $price_to[] = mosHTML :: makeOption($i, $i);
}


and replace it to
Code:

    $price[] = mosHTML :: makeOption('0', '0');
    $price_to[] = mosHTML :: makeOption('0', '0');
    $price[] = mosHTML :: makeOption('250', '250');
    $price_to[] = mosHTML :: makeOption('250', '250');
    $price[] = mosHTML :: makeOption('500', '500');
    $price_to[] = mosHTML :: makeOption('500', '500');




and exactly so for all yours prices

First please backup old file

Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?