Page 1 of 1

Feature Request: Color Picker on front end attribute.

Posted: 20 May 2020, 20:16
by TechMistress
I would like to have a color picker on the front end, as we offer any color.

I've tried implementing spectrum.js https://bgrins.github.io/spectrum/, but I can't get it to work within phoca cart (it works outside of the cart on a form I have).

Is there a way to include your existing color picker from the backend attributes on the front end as a product option?

Thanks!

Re: Feature Request: Color Picker on front end attribute.

Posted: 21 May 2020, 22:29
by Jan
Hi, please let me know more details, so I can add it to feature request list.

What color format should be set in form, standard html? e.g. #ffffff

If I undestand it correclty, the form field will be just standard text form with color picker and the value will be the HTML color format - exactly like in the backend?

Jan

Re: Feature Request: Color Picker on front end attribute.

Posted: 22 May 2020, 06:28
by TechMistress
Yes, adding the popup like you already have in the backend would be fine - just so a customer has the ability to pick more than the regular colors and we don't have to spend the time adding many colors by hand.

(I did get the Spectrum to work like I wanted, by the way.)

Re: Feature Request: Color Picker on front end attribute.

Posted: 28 May 2020, 14:25
by Jan
Ok, thank you for the info.

Jan

Re: Feature Request: Color Picker on front end attribute.

Posted: 29 Jul 2020, 13:03
by Jan
Hi, color picker field added in version 3.5.3:

https://www.phoca.cz/news/1093-phoca-ca ... 3-released

Jan