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 »

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: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Checkbox attribute

Post by Jan »

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 »

Great, thanks!! Solved.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Checkbox attribute

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
sanya71
Phoca Member
Phoca Member
Posts: 14
Joined: 07 Nov 2020, 22:36

Re: Checkbox attribute

Post by sanya71 »

Even if I enter the Attribute for the product, nothing will appear on the website,
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Checkbox attribute

Post by Jan »

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: 14
Joined: 07 Nov 2020, 22:36

Re: Checkbox attribute

Post by sanya71 »

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: 14
Joined: 07 Nov 2020, 22:36

Re: Checkbox attribute

Post by sanya71 »

Is there no solution?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9449
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Checkbox attribute

Post by Benno »

@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: 14
Joined: 07 Nov 2020, 22:36

Re: Checkbox attribute

Post by sanya71 »

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