A couple of things need to happen on the price slider:

1) The price (number) field needs to not be user entry, but just displayed above or below the slider
2) The go button goes away (the field updates via ajax anyway)
3) Ideally we have an ajax loader indicator, because it take awhile for the search results to update

You can find examples of this type of price slider design on kayak.com or airbnb.com. Here's the one from airbnb:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Cookiz’s picture

Assigned: Cookiz » bojanz
Status: Active » Needs review
FileSize
5.36 KB

Needs review : https://code.drupalcommerce.org/199

Done in this commit :
1) The price (number) field needs to not be user entry, but just displayed above or below the slider
2) The go button goes away (the field updates via ajax anyway)

Concerning :
3) Ideally we have an ajax loader indicator, because it take awhile for the search results to update

If we need to add a loader for the price range, do we need to add it also on the other faceted search blocks ?

bojanz’s picture

Assigned: bojanz » GuGuss

Merged the commit.

#3 needs feedback.

GuGuss’s picture

3) I agree with Cookiz to have an ajax loader when you select any facet.

GuGuss’s picture

Assigned: GuGuss » vasike
vasike’s picture

for 3) what about Search API ajax module.
is there anyone who use it for a Drupal commerce system?

jsacksick’s picture

I already used it, a lot of progress has been made but there are still a few bugs, let's say it's 80 - 90% working if you're using drupal blocks and views/search_api_pages for your search pages which I think is the case in kickstart.
Also the code is not super clean...

bojanz’s picture

Let's skip that module for now then.

Are we done with this issue then?

GuGuss’s picture

Status: Needs review » Fixed
FileSize
7.47 KB
5.71 KB

This looks good and behaves fine.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

romainT’s picture

Issue summary: View changes

Right now both Small and Normal screen layouts are present at the same time, making it very confusing, and the "Go" button is present.