37253 Javascript mini shopping cart

Completed Posted Jan 26, 2006 Paid on delivery
Completed Paid on delivery

Please only respond if you can do this or have done it before, this is not a complicated work, so bid a fair price for this. We will not spend more than $30 on it and this needs to work with Worldpay. We need some Javascript to create a mini shopping cart so that users can select, from a number of products, the quantity required. The sub-totals and totals being automatically calculated. The in page javascript should produce a simple HTML from, containing a table with the following columns: Product – a description of the product Cost – the unit price of the product Quantity – a drop down list showing the quantities available from 0 to the “max_quantity”. Sub-total – automatically calculated value when the quantity changes for that row (e.g. Cost x Quantity). So that new products can easily be added and existing ones modified, each product's attributes, (description, cost, max_quantity) should be define in an array at the top of the page. Example product[0] = (“Slice of pizza”, 1.20, “8”) product[1] = (“Wedding cake”, 150, “1”) product[2] = (“Cheese cake”, 15, “4”) The last line of the table will be the total row. This will show the total value of the order and will automatically update when the quantity values change. A purchase button under the table will send the data to the external World pay server. The description sent to World pay should show the quantity and description of the products chosen only. Examples Wedding cake NOT ordered so Wedding cake not shown. 5 x Slice of pizza, 2 x Cheese cake Or all products ordered. 1 x Slice of pizza, 1 x Wedding cake, 3 x Cheese cake Please base work on the examples 2 & 3 provided by World pay [url removed, login to view] Please include function fix(num) as it seems to be required.

Java Odd Jobs

Project ID: #1786864

About the project

1 proposal Remote project Active Jul 11, 2012

Awarded to:

microcode

checkk out pmb

$30 USD in 1 day
(0 Reviews)
0.0