Checkbox attribute

Phoca Cart - complex e-commerce extension
escafandra
Phoca Enthusiast
Phoca Enthusiast
Posts: 52
Joined: 12 Jul 2018, 11:19

Checkbox attribute

Post by escafandra » 24 Aug 2020, 14:51

Hello, in my attributes configuration I have the checkbox type with 10 possible options out of which only one should be selected. The problem is that at the moment the user is allowed to choose more than one. Would there be a way to have only one checkbox selected? You can see how it works here https://www.jcmackintosh.es/atun-rojo-d ... ml?lang=es

By default I have the 1Kg checkbox selected, but when selecting any other option with different weight all the other previously selected options keep on being checked. This might lead to a customer´s confusion. It would be much easier to allow only one option checked. So when selecting a new option all the other previously selected checkboxes are automatically unchecked.

Thank you,

Tags:

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 43171
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Checkbox attribute

Post by Jan » 25 Aug 2020, 14:18

Hi, as in previous post described, just change the type of the attribute to select box:

Image

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

escafandra
Phoca Enthusiast
Phoca Enthusiast
Posts: 52
Joined: 12 Jul 2018, 11:19

Re: Checkbox attribute

Post by escafandra » 28 Aug 2020, 13:42

Great, thanks!! Solved.

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 43171
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Checkbox attribute

Post by Jan » 28 Aug 2020, 15:53

Ok
If you find Phoca extensions useful, please support the project

sanya71
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Nov 2020, 22:36

Re: Checkbox attribute

Post by sanya71 » 11 Nov 2020, 22:39

Even if I enter the Attribute for the product, nothing will appear on the website,

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 43171
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Checkbox attribute

Post by Jan » 12 Nov 2020, 20:38

Hi, what do you mean with "nothing"? There is no product page?

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

sanya71
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Nov 2020, 22:36

Re: Checkbox attribute

Post by sanya71 » 13 Nov 2020, 09:17

There is everything except the attributes do not appear.
For example, I specify a color choice for a particular product, but it does not appear on the website for that product.
And if the field is required, then the cart stack error, "Product not added to cart. Selecting of attribute option is required." I tried other templates as well, but the error remained.

sanya71
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Nov 2020, 22:36

Re: Checkbox attribute

Post by sanya71 » 15 Nov 2020, 01:15

Is there no solution?

User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 7599
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Checkbox attribute

Post by Benno » 15 Nov 2020, 16:48

@sanya71
we need more informations!
Which Joomla! version?
Which Phoca Cart Component version?
Which PHP version?
Which frontend template?
Does your frontend template support bootstrap 3?
And most importand the URL?

Kind regards,
Benno

sanya71
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Nov 2020, 22:36

Re: Checkbox attribute

Post by sanya71 » 15 Nov 2020, 18:19

Joomla! 3.9.22
phocacart 3.5.4
PHP 7.0.33
Phoca Duka - template. But it doesn't show up in the other factory templates either.
I'm testing localhost.

thanks.

Post Reply