Feature Request: Color Picker on front end attribute.

Phoca Cart - complex e-commerce extension
TechMistress
Phoca Enthusiast
Phoca Enthusiast
Posts: 54
Joined: 27 May 2015, 21:24

Feature Request: Color Picker on front end attribute.

Post 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!

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

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

Post 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
If you find Phoca extensions useful, please support the project
TechMistress
Phoca Enthusiast
Phoca Enthusiast
Posts: 54
Joined: 27 May 2015, 21:24

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

Post 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.)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Ok, thank you for the info.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, color picker field added in version 3.5.3:

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

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