Page 1 of 1

Attributes problem

Posted: 15 Jun 2024, 12:13
by ScaleBXL
Hello,

I can't seem to make size selection required in the attributes.

My selection box is set to required, my options (sizes) to required, I have a selection option not required by default.

I can order the product without selecting the size, I should not be able to do it without selecting the size.

Image

Re: Attributes problem

Posted: 15 Jun 2024, 12:14
by ScaleBXL

Re: Attributes problem

Posted: 18 Jun 2024, 01:40
by Jan
Hi, which version of Phoca Cart you are running? Can I see the site where this occurs? Testing now, see no problem there :idea:

Jan

Re: Attributes problem

Posted: 20 Jun 2024, 10:19
by ScaleBXL
Hello Jan

Thank you for you reply, here's the link https://www.madeinasturies.eu/kiki/fr/c ... /chemises/

Phaca Cart Version 4.0.10
Joomla 4.4.5
PHP Version 8.1.29

Re: Attributes problem

Posted: 20 Jun 2024, 15:37
by Jan
Hi, set required to all options.

Usually, when the attribute is required, then no "select option" is displayed.

So if it is displayed:
- the attribute is not required
- or the "select option" is set as another value for select box.

Testing now version 4.0.10, setting the attribute to requried, no "select option" is displayed, it cannot be ordered.

Image

:idea:

Jan

Re: Attributes problem

Posted: 21 Jun 2024, 09:26
by ScaleBXL
Ok thank you Jan, I did it !

So if I understand correctly I cannot have an option of type "Select" by default?

Re: Attributes problem

Posted: 21 Jun 2024, 15:02
by Jan
If you have an option "select" and such is selected, the system takes it as selected option, so this is why it is possible to order.

Jan