View Single Post
  #5  
Old 12-19-2006, 11:37 AM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: Shipping Description in cart and checkout

it should be a javascript syntax and not a smarty syntax and it needs to be within the function, should be something like:
Code:
elseif(document.cartform.shippingid.value==50) document.cartform.shippingdesc.value="Express takes about 1 business day.";
...i think i may have found a fix for my code, going to test it now



for finding values...i changed the function to:
Code:
function shipdesc() { alert(document.cartform.shippingid.value); }
and took note of what the values were when i made changes in the shipping
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote