PDA

View Full Version : copy_shipping


CraigR
03-19-2009, 05:59 AM
i wanted to add a shipping surcharge based on region, so i added region list boxes to my checkout page for the billing and shipping areas.
i then set a session id to the option value of the shipping_region list box
i then have a shipping calculation which triggers if the sessionid is set correctly

i then edited the copy_Shipping.js ensuring the field names were correct, but the list box in my shipping area doesn't update when i click on the check box (all the others do)

have i missed something ? i have looked for typos and can't find any.

Ray Borduin
03-19-2009, 07:36 AM
Lists are referenced differently than text boxes... you must be using the wrong syntax, or you have more than one field on the page with the same exact name. Those are the only two causes of that behavior I could think of.

CraigR
03-19-2009, 11:51 PM
Sorted.

the code was OK, it just wasn't copied to my testing server.