OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

VehicleManager component support

Go to bottom Favoured: 0

Searching by price range

acuaweb (User)
Junior Boarder
Posts: 35
graphgraph
User Offline Click here to see the profile of this user
Searching by price range 11 Years, 6 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.
admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
Re:Searching by price range 11 Years, 6 Months ago
Karma: 101  
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.
acuaweb (User)
Junior Boarder
Posts: 35
graphgraph
User Offline Click here to see the profile of this user
Re:Searching by price range 11 Years, 5 Months 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.
admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
Re:Searching by price range 11 Years, 5 Months ago
Karma: 101  
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.
acuaweb (User)
Junior Boarder
Posts: 35
graphgraph
User Offline Click here to see the profile of this user
Re:Searching by price range 11 Years, 5 Months 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.
admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
Re:Searching by price range 11 Years, 5 Months ago
Karma: 101  
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
»