Advance software forum
May 18, 2012, 08:27:54 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: ajax_checkout.php blank  (Read 1243 times)
0 Members and 2 Guests are viewing this topic.
aniu
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: April 17, 2009, 07:32:44 AM »

Hi to you all,

I just installed ajax single page checkout for my store but the most important page ajax_checkout.php don't work.
I can see header and left column of this page, but the main part is missing. See: http://ecartter.com/demo/ajax_checkout.php

I don't have any clue why this problem happens and how to fix it.  Could anyone help? Thanks for advance
Logged
Alex
Administrator
Full Member
*****
Offline Offline

Posts: 128


View Profile
« Reply #1 on: April 17, 2009, 09:21:51 AM »

Hello,

Glad you tried our software Smiley
The investigation of your problem shows that you have a sort of "scroller" installed at your store, which is assigning a page to load
itself by default, in the onLoad function on the fly. We have developed our contrib so it is defined in the body tag, but this script
is like "overwriting" the onLoad function with itself (so it will load instead of ajax checkout script) thats why you got a blank page.

So, possible solutions are:
1. Disable that scroller or uninstall it
2. Your scroller uses the "startscroll" function, which is defined somewhere in the script with the
line "window.onload=startscroll", so in this line it "overwrites" our "onLoad" function which is called "goOnLoad();".
You may alter the javascript so our functions will also be called after the scroller init, but this, however, requires you to
know javascript.

Hope it helps.
Logged
joe
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #2 on: October 28, 2010, 03:38:41 AM »

Hi!

I am using a module for a fly out menu which causes the Ajax checkout module not to work.I need to have both of them on my site because that's the specifications from the client.I do not know javascript but i can at least understand bits of it.what modifications should i make on the script so that both of them can work.

The name of the fly out menu is "Dynamenu" just in case you need to know.Please help me out!

Thanks in Advance.
Logged
Alex
Administrator
Full Member
*****
Offline Offline

Posts: 128


View Profile
« Reply #3 on: October 28, 2010, 05:26:48 AM »

Hello Joe,

I guess the dynamenu is assigning a page to load itself by default, in the onLoad function on the fly. We have developed our contrib so it is defined in the body tag, but this script is probably like "overwriting" the onLoad function with itself (so it will load instead of ajax checkout script) thats why you got a blank page.

What I suggest is goto that menu loader and add an ajaxcheckout "starter" to the end of this function: goOnLoad();

Best,
Alex
Logged
joe
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #4 on: October 28, 2010, 05:50:47 AM »

Hey Alex,

Can you please tell me the exact code that i need to add in.

Thanx a lot for taking your time to respond to this.

Cheers!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 3.1.1 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!