Search filters

Is there a feature that you would like to see added to Enuuk Auction Platform?
Post Reply
bamse
Posts: 220
Joined: Mon Feb 06, 2012 12:05 pm
Contact:

Search filters

Post by bamse » Sun Nov 11, 2012 10:52 pm

As far as I understand, the list for the "price" search filter is generated from the current bid values of all items.

This is not ideal in my opinion as it can get very crowded if there are many items on the site. Also, if many items have almost identical prices, does the user really need the option to filter search results based on a maximum price of USD 10.13, USD 10.14, USD 10.15...?

It would be better if there was a fixed (admin-changeable) table of search intervals, e.g. less than USD 10, USD 10 to 100, USD 100 to 500,...


Similarly for the zip filter, at least for some countries there are many zip codes in a relatively small area and a user would likely be more interested in filtering regions (e.g. a province/state) than individual zip codes.

bamse
Posts: 220
Joined: Mon Feb 06, 2012 12:05 pm
Contact:

Re: Search filters

Post by bamse » Tue Nov 20, 2012 11:26 pm

As for the prices that is easily modified in class/Action/Search.php find

Code: Select all

$prices = array();
foreach($offersList as $v){
    if(!in_array($v['currentPrice'],$prices)){
        $prices[] = $v['currentPrice'];
    }
} 
and replace it with just

Code: Select all

$prices = array(100,200,500);
Example is for 100, 200, 500 currency units.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest