Filters with custom attributes not working properly

Phoca Cart - complex e-commerce extension
Webguy
Phoca Enthusiast
Phoca Enthusiast
Posts: 86
Joined: 16 May 2024, 15:59

Filters with custom attributes not working properly

Post by Webguy »

We are using Phoca 6.0 but still an old issue is present. Perhaps we've set something up wrong or are missing a certain setting but I've run out of idea's.

Example
When selecting checkboxes in the Attribute filter "Kleur", in some situations the checkboxes disappear. It seems to happen with certain colors.

When navigating to the resulting url you can see the same issue.
https://www.fleev.nl/webshop/items?a[kleur]=blauw,geel
https://www.fleev.nl/webshop/items?a[kleur]=grijsblauw

Video;
https://share.zight.com/wbu40Oeb

Is there a logical, clear issue/solution here or should I provide some login details?

Best regards,
Peter
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49365
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Filters with custom attributes not working properly

Post by Jan »

Hi, hard to say what can be wrong, when you click on checkbox, the site should be reloaded, but on your site, there is time gap, so you can check other checkboxes while the site is reloading (and it remembers only the first click), But why it completely disappears, hard to say. When you switch e.g. to standard Cassiopeia template, do you get the same problems?

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

Re: Filters with custom attributes not working properly

Post by Webguy »

Hoi Jan,

Yeah, same on Cassiopeia;
https://share.zight.com/v1u72gyG

I think I found the issue. Looks like the cause was an attribute with same name but different type. List v.s. color. So as soon as I choose 'goud' it breaks.

Is there a way to centrally manage all attributes to check these kind of issues? I've used sql to find and correct the wrong products but it would be nice if the user can easily manage these as well.

Best regards,
Peter
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49365
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Filters with custom attributes not working properly

Post by Jan »

Hi, the attributes do not work like parameters or tags or labels which you can manage on one place. Each product has own attributes.

Jan
If you find Phoca extensions useful, please support the project
Post Reply