basamdamdu
01-20-2011, 05:14 AM
Hi there,
I am trying to come up with an instant price quote calculator in javascript.
it would be a simple one with only three fields:
"label" -Number of Shirts
"label" -Number of Colors on Front
"label" -Number of Colors on Back
"button" calculate total
"results" total: $xx per bag: $xx
total price would decrease based on the number of shirts (more volume) / increase based on the number of colors both front and back.
something i found online that is 100% what i want: http://zeustees.com/about-us
i've found something here (http://javascript.internet.com/math-related/best-price.html) that will deal with the increase/decrease of volume and corresponding price but if anybody has a solution already, that would save me a lot of time and agony.
i am obviously not asking anyone to work for free but if someone could point me to a semblance of a solution, some code, something online that i could modify etc. i would love to learn javascript in the process and ideally come up with a working version of the calculator.
i tried to work with the .js from that website (http://zeustees.com/about-us) but it calls in some qq2.php page. so i haven't been able to replicate the solution. plus, i would assume that their price structure would be different than mine.
thank you in advance for your help
BD
I am trying to come up with an instant price quote calculator in javascript.
it would be a simple one with only three fields:
"label" -Number of Shirts
"label" -Number of Colors on Front
"label" -Number of Colors on Back
"button" calculate total
"results" total: $xx per bag: $xx
total price would decrease based on the number of shirts (more volume) / increase based on the number of colors both front and back.
something i found online that is 100% what i want: http://zeustees.com/about-us
i've found something here (http://javascript.internet.com/math-related/best-price.html) that will deal with the increase/decrease of volume and corresponding price but if anybody has a solution already, that would save me a lot of time and agony.
i am obviously not asking anyone to work for free but if someone could point me to a semblance of a solution, some code, something online that i could modify etc. i would love to learn javascript in the process and ideally come up with a working version of the calculator.
i tried to work with the .js from that website (http://zeustees.com/about-us) but it calls in some qq2.php page. so i haven't been able to replicate the solution. plus, i would assume that their price structure would be different than mine.
thank you in advance for your help
BD