Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialhbh Humble but hungry
1,095 Pointshow/what type of code would you use to create a way to let people visually customize products on a website?
I wish to be able to let customers choose and design/customize their own variations of the products that i offer, but i would like to allow them to be able to drag and drop and see the changes in real time. Is there a specific coding language to use to preform this task or is it just a plug-in?
3 Answers
Kevin Korte
28,149 PointsSounds like a job for javascript!
hbh Humble but hungry
1,095 PointsThank you a lot for your help.
Kevin Korte
28,149 PointsYou're welcome
hbh Humble but hungry
1,095 PointsHi,i just had another quick question. Is there any existing open source code to possibly do this?
hbh Humble but hungry
1,095 Pointshbh Humble but hungry
1,095 PointsThanks for the reply. Is it only javascript? Here's an example of what i'm going for "http://www.personalityjewelry.com/index.php/customize.your.own.html"
Kevin Korte
28,149 PointsKevin Korte
28,149 PointsNo, there will be multiple languages involved. There is no direct path, it just depends on what you decide to do. You'll need some sort of back end to receive the orders or customized product order. That could be javascript, php, ruby, python, and more.
You'll likely need a database to store this information
And than you'll have your typical html, css, and the interactivity can come from javascript, or using the html api for canvas might be another solution you could look at. I haven't used canvas too much so I'm not sure how well it would work for your needs, but it's something to consider.