I have a photo frame designer. The user can select different options for their photo frame and they will be reflected in a visual svg-powered graphic. I need the options the user has selected to be saved and then passed on to the manufacturer. The most obvious way to me is to store their choices in javascript variables and then when an order button is pressed these variables are sent to the manufacturer's email. How achievable is this? And how does the email part work? Here is a snippet of code.
$(document).ready (function() {
$('#purple').click (function() {
$(".border").css("fill", "#763d81");
var frameColour = "purple";
});
});