Devam Ediyor

Javascript to display running total and sum 2 drop downs for cart

I am a photographer that has a website to post the proof shots of each session so the client can view and purchase the photos from my website. I am adapting a purchased php script to make it do what I need. There are two tasks associated with this project. First, there are 2 drop down menus which are compiled with php code pulling from a Mysql database. The first menu shows all the print products that the client can purchase and the correlating price for that product. Using javascript I was able to get that price passed to the cart. Now, however, I would like to have the second drop down that I created for the client to choose if they would like a Color or Black and White photo to also be passed to the cart. Ultimately, I need the price from the first drop down to be summed with the price of the second drop down and then be passed to the cart. The second task is to display a running total in a textbox near the add to cart button so that when an option is chosen the price will update. At this point, I have the two drop downs populated with Mysql data and I have the print product price able to be passed to the cart, but am unable to display a running total and sum up the prices from the two drop downs and successfully pass them to the cart.

Beceriler: Javascript, Fotoğrafçılık, PHP

Daha fazlasını gör: javascript running total, running total javascript, javascript sum, sum javascript, javascript display total, javascript total sum, javascript sum dropdown, running total php, javascript running sum, javascript sum price, javascript total, javascript sum dropdowns, javascript running total drop, javascript display money, running sum javascript, javascript sum values cart, javascript print running total, sum values dropdowns javascript, javascript sum html, javascript average sum total, keep running total javascript, javascript sum money, javascript running totals, javascript sum total, php running sum

İşveren Hakkında:
( 2 değerlendirme ) Gardner, United States

Proje NO: #81283