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!
Feature Request: Color Picker on front end attribute.
-
- Phoca Enthusiast
- Posts: 54
- Joined: 27 May 2015, 21:24
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Feature Request: Color Picker on front end attribute.
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 54
- Joined: 27 May 2015, 21:24
Re: Feature Request: Color Picker on front end attribute.
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.)
(I did get the Spectrum to work like I wanted, by the way.)
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Feature Request: Color Picker on front end attribute.
Ok, thank you for the info.
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Feature Request: Color Picker on front end attribute.
Hi, color picker field added in version 3.5.3:
https://www.phoca.cz/news/1093-phoca-ca ... 3-released
Jan
https://www.phoca.cz/news/1093-phoca-ca ... 3-released
Jan
If you find Phoca extensions useful, please support the project