Length selection disables color selections

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Yvler
Posts: 33
Joined: 04 Jun 2015, 10:15

Length selection disables color selections

Post by Yvler » 04 Jun 2015, 12:23

Example: http://laravel.demo.aimeos.org/default/ ... mage-82163

When you click a color, and afterwards select a length, you won't be able to select another color if that color doesn't have the selected length. Of course, this is normal..
But, you can't seem to remove this filter unless you refresh the page.

Is it possible to add an option to remove the current filter (a square with a cross in front of the length selections)?

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Length selection disables color selections

Post by aimeos » 04 Jun 2015, 12:38

Yvler wrote: Is it possible to add an option to remove the current filter (a square with a cross in front of the length selections)?
The whole enforcement of an article from a selection product in the frontend is done via Javascript. It's the "setupSelectionDependencies" in https://github.com/aimeos/arcavias-core ... -detail.js. We really appreciate any contributions to fix this problem :-)

Yvler
Posts: 33
Joined: 04 Jun 2015, 10:15

Re: Length selection disables color selections

Post by Yvler » 04 Jun 2015, 13:02

I'll check it out ;-)
I'll contribute @ github when we made this modification :)

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Length selection disables color selections

Post by aimeos » 04 Jun 2015, 13:20

Yvler wrote:I'll check it out ;-)
I'll contribute @ github when we made this modification :)
Great! :-)
I'm unsure how other shops handle this and what is the best solution concerning usability. Maybe visitors should always be able to change the first option, so this one shouldn't be enforced at all.

Post Reply