OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: Searching by price range
#5812
acuaweb (User)
Junior Boarder
Posts: 34
graphgraph
User Offline Click here to see the profile of this user
Searching by price range 4 Years, 2 Months ago Karma: 0  
Hi, in search module,
where I can edit the list of values ​​to search by price? Now is 0 - 10000 in both popup menu.
 
Logged Logged  
  The administrator has disabled public write access.
#5824
admin (Admin)
Admin
Posts: 4882
graph
User Offline Click here to see the profile of this user
Re:Searching by price range 4 Years, 2 Months ago Karma: 61  
Hello,

For change price listbox ib vehicle search module
You need go to file
{yours site}/mod_vehiclemanager_search/mod_vehicle_manager_search.php

find there are

Code:

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



and replace for example to

Code:

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



Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#5929
acuaweb (User)
Junior Boarder
Posts: 34
graphgraph
User Offline Click here to see the profile of this user
Re:Searching by price range 4 Years, 1 Month ago Karma: 0  
yes thank you, that I had already read in another post but this way we still have a single digit selected, but my need is to offer various possibilities, for example: 100 or 200 or 300 or 400 or 500 etc., and not only 0 or 50000 (or at least a single digit alternative)
 
Logged Logged  
  The administrator has disabled public write access.
#5937
admin (Admin)
Admin
Posts: 4882
graph
User Offline Click here to see the profile of this user
Re:Searching by price range 4 Years, 1 Month ago Karma: 61  
Hello,

I am sorry, with that user may set not one single digit selected for price, with that user may set some price span - where from and where to - search vehicles - in search vehicles module.

Or I not understand what you mean

Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#5949
acuaweb (User)
Junior Boarder
Posts: 34
graphgraph
User Offline Click here to see the profile of this user
Re:Searching by price range 4 Years, 1 Month ago Karma: 0  
Hi,
I would simply divide the possibility of selection options, as in almost all pop-up menu.
For example:
from = a popup menu that offers a choice of 100,200,300,400,500, etc..
to = another popup menu that offers a choice of 100,200,300,400,500, etc..

But now the situation is:
from = 0, 50000 (or the value that I assign editing as described above)
to = 0, 50000 (or the value that I assign editing as described above)

I hope I have explained better what I want ...
 
Logged Logged  
  The administrator has disabled public write access.
#5961
admin (Admin)
Admin
Posts: 4882
graph
User Offline Click here to see the profile of this user
Re:Searching by price range 4 Years, 1 Month ago Karma: 61  
Hello,

Sorry, but you self asked "$i=$i+50000" !!!
Please set $i=$i+100

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?