AbanteCart Community

eCommerce construction => How-to questions => Topic started by: ArcherData on May 11, 2018, 01:45:33 AM

Title: Multiple SELECTBOX lists - enforce selection from any one of them
Post by: ArcherData on May 11, 2018, 01:45:33 AM
I have created a product entry that has 6 color palettes, each with a list of colors available for the product. I set the Global Attributes setting to Required=NO since only one item in the 6 lists needs to be selected. I could combine the six lists into one, but it will contain 91 items in the dropdown list, and I am not so sure that's a good idea. The attached screenshot shows how the selection boxes appear to the user.

Is there any way to make it so that any ONE of the 6 available lists MUST be selected?
Title: Re: Multiple SELECTBOX lists - enforce selection from any one of them
Post by: Basara on May 11, 2018, 04:59:05 AM
Hi.
I guess it possible only with java-script. Something like https://stackoverflow.com/a/28954059
Title: Re: Multiple SELECTBOX lists - enforce selection from any one of them
Post by: llegrand on May 11, 2018, 11:28:54 AM
This is just a suggestionWhat if you reverse your selection criteria?  Making the size parameter the parent option,  and the color the child option.
My thinking is that they need to find their size requirement and then then can see if their color preference is available.You can set your required ON so they must select a size

I believe you might have better inventory tracking with that method also.
Again just a suggestion