Mlmsoft Posted February 19, 2005 Report Share Posted February 19, 2005 Hello I have defined two shipping options: flat and selfpick. Here is small script error, if I will change payment or shipping options: Example for shipping options change: A runtime error was occured. Do you wish to debug? Line: 45 Error: document.checkout_payment.payment is null or not an object version RC1.2 Thank you Link to comment Share on other sites More sharing options...
Guest HHGAG Posted February 19, 2005 Report Share Posted February 19, 2005 It's an javascript bug which is fixed in the V3 Link to comment Share on other sites More sharing options...
luebke Posted February 19, 2005 Report Share Posted February 19, 2005 Hi, i've got the same error, but you can deactivate the script in the template file and it will works only as a form without optical effects. I know, it is a quick 'n dirty reason, but i am not the great javascripter... ... However you can also realize this effect by using css, but i haven't tested it up to now personally. Greetz and nice weekend ! Thomas Link to comment Share on other sites More sharing options...
Mlmsoft Posted February 19, 2005 Author Report Share Posted February 19, 2005 Originally posted by HHGAG@Feb 19 2005, 17:16 PM It's an javascript bug which is fixed in the V3 Thank you for your answer, but I have tryed demo shop from your site - there you can see same error. Cheers Link to comment Share on other sites More sharing options...
Mlmsoft Posted February 19, 2005 Author Report Share Posted February 19, 2005 Originally posted by luebke@Feb 19 2005, 17:40 PM Hi, i've got the same error, but you can deactivate the script in the template file and it will works only as a form without optical effects. I know, it is a quick 'n dirty reason, but i am not the great javascripter... ... However you can also realize this effect by using css, but i haven't tested it up to now personally. Greetz and nice weekend ! Thomas Hi Where can I disable this javascript? Thank you Hi, i've got the same error, but you can deactivate the script in the template file and it will works only as a form without optical effects. I know, it is a quick 'n dirty reason, but i am not the great javascripter... ... However you can also realize this effect by using css, but i haven't tested it up to now personally. Greetz and nice weekend ! Thomas Hi Where can I disable this javascript? Thank you Link to comment Share on other sites More sharing options...
Mlmsoft Posted February 19, 2005 Author Report Share Posted February 19, 2005 Originally posted by luebke@Feb 19 2005, 17:40 PM Hi, i've got the same error, but you can deactivate the script in the template file and it will works only as a form without optical effects. I know, it is a quick 'n dirty reason, but i am not the great javascripter... ... However you can also realize this effect by using css, but i haven't tested it up to now personally. Greetz and nice weekend ! Thomas I have found it. in the file header.php (not include/header.php) I have disabled this: // var FormRadioButtons = (document.checkout_address) ? document.checkout_address.address : ((document.checkout_payment) ? document.checkout_payment.payment : document.checkout_shipping.shipping); // if (FormRadioButtons[0]) { // FormRadioButtons[buttonSelect].checked=true; // } else { // FormRadioButtons.checked=true; // } and rollover efect is still here, but without runtime error ! Cheers Link to comment Share on other sites More sharing options...
Mlmsoft Posted February 19, 2005 Author Report Share Posted February 19, 2005 Originally posted by Mlmsoft+Feb 19 2005, 19:50 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (Mlmsoft @ Feb 19 2005, 19:50 PM)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-luebke@Feb 19 2005, 17:40 PM Hi, i've got the same error, but you can deactivate the script in the template file and it will works only as a form without optical effects. I know, it is a quick 'n dirty reason, but i am not the great javascripter... ... However you can also realize this effect by using css, but i haven't tested it up to now personally. Greetz and nice weekend ! Thomas I have found it. in the file header.php (not include/header.php) I have disabled this: // var FormRadioButtons = (document.checkout_address) ? document.checkout_address.address : ((document.checkout_payment) ? document.checkout_payment.payment : document.checkout_shipping.shipping); // if (FormRadioButtons[0]) { // FormRadioButtons[buttonSelect].checked=true; // } else { // FormRadioButtons.checked=true; // } and rollover efect is still here, but without runtime error ! Cheers Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.