#1 (permalink)  
Alt 19.02.2005, 14:07
 
Registriert seit: 28.11.2004
Beiträge: 17
Standard

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 19.02.2005, 16:16
HHGAG
Gast
 
Beiträge: n/a
Standard

It's an javascript bug which is fixed in the V3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 19.02.2005, 16:40
Benutzerbild von luebke  
Registriert seit: 13.05.2004
Beiträge: 546
Standard

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #4 (permalink)  
Alt 19.02.2005, 17:42
 
Registriert seit: 28.11.2004
Beiträge: 17
Standard

Zitat:
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #5 (permalink)  
Alt 19.02.2005, 18:23
 
Registriert seit: 28.11.2004
Beiträge: 17
Standard

Zitat:
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #6 (permalink)  
Alt 19.02.2005, 18:50
 
Registriert seit: 28.11.2004
Beiträge: 17
Standard

Zitat:
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #7 (permalink)  
Alt 19.02.2005, 18:54
 
Registriert seit: 28.11.2004
Beiträge: 17
Standard

Zitat:
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 [/b][/quote]
Sorry, :stupid:
right file is includes/header.php

Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
error, runtime

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus



Alle Zeitangaben in WEZ +1. Es ist jetzt 06:19 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand