View Single Post
  #1 (permalink)  
Old 02-06-2008, 05:23 PM
PWinter PWinter is offline
Junior Member
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need JS routine to price items by inch of length.

Hello, I just joined so please be gentle. We're working with a potential client that wants to sell exterior home shutters on the Internet. The shutters are priced by width and inches of length, that is, a 14" wide shutter is $1.06 per inch of length and so on. I need a Javascript routine (or possibly a server side PHP routine) that will take the customer's width and length, multiply by the cost per inch to arrive at a total cost per shutter, display it on the page, and pass it to the shopping cart. Any suggestions where I might get such a script will be greatly appreciated.

Second problem/question. We have not yet decided upon which cart to use, and are looking at hosted carts, but we're not locked into that. We will in all likelyhood have to modify the cart to accept the total price from the form rather than from the product database. Any suggestions about which cart to use will be great.

Thank you all
Reply With Quote