Help Me:Scriptaculous ajax drag and drop wedding price quote thingy
Well its a project I am trying to get to work, running from this tutorial: Ajax Workshop 3: Shopping Cart using Script.aculo.us I am trying to construct a ‘Wedding Quote Calculator‘ The drag and drop is the easy part, but I need to assign real values to the ‘boxes’ and dynamically add up everything in the DIV and pull though in the total box. I am stuck. Its not hard as I am not a programmer! I was wondering if I could store the values in a php file, add whatever is placed in the shopping cart then spit out the value. I don’t want to resort to mySQL as the data will be fixed.I am also going to construct a drop down and radio button version as I doubt I will get it working too soon and it needs to be done for 2008 and 2009 weddings which are booking now!
I posted this on my pro blog scriptaculous-ajax-drag-and-drop-wedding-price-quote
I do need help on this as I am not a code guru!








An easy way to do this is to hard-code your wedding items as a JSON
object.
You could then grab the details from the JSON object based on the ID
of the cart item.
see: http://www.json.org/example.html
Comment by Liz — July 12, 2007 @ 11:03 am