Price slider not showing

Phoca Cart - complex e-commerce extension
Polmock2
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 27 Jun 2024, 19:16

Re: Price slider not showing

Post by Polmock2 »

On mobile filter is not draggable (only tappable, which is not user friendly)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Price slider not showing

Post by Jan »

Hi, which Price slider do you mean, the one in filter? This is why there are also form input fields too. (if enabled in options of Phoca Cart Filter module).

I am not the developer of the slider Javascript so I will try to get more info about it. Thank you for feedback.

Jan
If you find Phoca extensions useful, please support the project
Polmock2
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 27 Jun 2024, 19:16

Re: Price slider not showing

Post by Polmock2 »

Jan wrote: 28 Jun 2024, 16:13 Hi, which Price slider do you mean, the one in filter? This is why there are also form input fields too. (if enabled in options of Phoca Cart Filter module).
Yes, exactly.

I know that there are also form input, but the client wants to use the slider on mobile too (and I think it's a reasonable request and behaviour... a draggable slider is much more mobile friendly than 2 numeric inputs)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Price slider not showing

Post by Jan »

Thank you for the info, see:
https://github.com/PhocaCz/PhocaCart/issues/236

Jan
If you find Phoca extensions useful, please support the project
Webguy
Phoca Enthusiast
Phoca Enthusiast
Posts: 68
Joined: 16 May 2024, 15:59

Re: Price slider not showing

Post by Webguy »

Hi Jan,

I've currently am at Beta71
Tried other template but no change.

Filter module is version 5.0.0Beta61

I can display the bar but both dots on the slider are stuck at 0. Price is not updating.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Price slider not showing

Post by Jan »

Hi, can I see the site where this occurs? Do you see any javascript error in dev console which can prevent from displaying it?

Testing now with latest version, everything is OK there :idea:

Image

Jan
If you find Phoca extensions useful, please support the project
Webguy
Phoca Enthusiast
Phoca Enthusiast
Posts: 68
Joined: 16 May 2024, 15:59

Re: Price slider not showing

Post by Webguy »

Of course!
https://fleev.nl/webshop/items?price_from=4&price_to=6

I can use the fields to input prices but the two circles just stay on the left. I don't see any errors popping up in the console. The Price filter is also empty when you first look at it, maybe it's not loading the min/max prices of the products correctly?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Price slider not showing

Post by Jan »

Hi,

hmmm, I am testing latest YOOtheme (4.4.5)

Image

and everything is OK there.

So maybe on the site there can be another conflict. Do you use some specific extensions which can somehow change the output or use Javascript?
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: Price slider not showing

Post by Nidzo »

Webguy wrote: 19 Sep 2024, 08:36 Of course!
https://fleev.nl/webshop/items?price_from=4&price_to=6

I can use the fields to input prices but the two circles just stay on the left. I don't see any errors popping up in the console. The Price filter is also empty when you first look at it, maybe it's not loading the min/max prices of the products correctly?
Is Load Component Media option in mod_phocacart_filter module is set to yes? (at the bottom in General Options of module)
Some CSS values are missing from your code. Maybe JS too.
Webguy
Phoca Enthusiast
Phoca Enthusiast
Posts: 68
Joined: 16 May 2024, 15:59

Re: Price slider not showing

Post by Webguy »

Is Load Component Media option in mod_phocacart_filter module is set to yes? (at the bottom in General Options of module)
Some CSS values are missing from your code. Maybe JS too.
Load Component Media is on, so that sadly will not be the fix.
Post Reply