Jump to content
xt:Commerce Community Forum

Runtime Error ...


Mlmsoft

Recommended Posts

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

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...