Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30
  1. #21
    Join Date
    Apr 2005
    Posts
    28
    Plugin Contributions
    0

    Default Re: Double click problem

    I have added a .swf preview for anyone who wants to see how it works. The attached file includes the script too.
    Attached Files Attached Files

  2. #22
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    280
    Plugin Contributions
    0

    Default Re: Double click problem

    oh well,
    no luck on my end with my test site.

    I use a custom template and I have some other checkout button. I have to figure out how to get around so that your code works with them. I just can't work on it tonight.

    When I tried it, nothing happened at all and acted as before.

    Also, I have a question on installation item #2.
    Should the extra code that is to be inserted replace what is after this code, or be inserted? There's a couple more lines at the end of the file and it seems as if I should put the new code over the top of it.
    Can you clarify?

    <<FIND THIS (near the line 36):


    function button_timeout() {
    document.checkout_confirmation.submit.disabled = false;>>
    Jeff Michaels,
    pres of Musical Creations Ltd.

  3. #23
    Join Date
    Apr 2005
    Posts
    28
    Plugin Contributions
    0

    Default Re: Double click problem

    This attached file should have all the files already modified just copy them to there appropriate directories. I am really new to this too sorry for not including them.
    Attached Files Attached Files

  4. #24
    Join Date
    Oct 2005
    Posts
    96
    Plugin Contributions
    0

    Default Re: Double click problem

    Hi Saltio,

    I've been having a major problem with double-clicking the confirm order button for a while, increasing to 4 or 5 a day in the last week. I'm trying to implement your java fix, but something's not right. Nothing changes after clicking the button. I'm guessing it's with the jscript_main.php file. Here's what I have at the bottom of that file after pasting in your code:

    Code:
    function button_timeout() {
      document.checkout_confirmation.submit.disabled = false;
    
    <script type="text/javascript">
    
    function SubmitOrderButton(){
    
            document.getElementById("submitmain").style.display = "none";		
    
    	if (navigator.appName == "Microsoft Internet Explorer") {
    	document.getElementById("pleasewait").innerHTML = "";
    	document.getElementById("pleasewait").style.display = "block";
    	document.getElementById("pleasewait").innerHTML = "<img src='images/pleasewait.gif' alt='Please Wait'>";
    
    	} else {
    	document.getElementById("pleasewait").style.display = "block";		
    
    	}
    }
    
    </script>
    
    }
    
    //--></script>
    Does that look right? Thanks for any help you can give.

  5. #25
    Join Date
    Oct 2005
    Posts
    96
    Plugin Contributions
    0

    Default Re: Double click problem

    Ignore the previous post. I just found the zip file you attached with the files already edited. It's working great. Thank you so much!

  6. #26
    Join Date
    Aug 2005
    Posts
    154
    Plugin Contributions
    0

    Default

    Saltio, thanks man, I was having this issue with my Zen 1.3.8 and it solved it! Odd this isn't included as "standard" in Zen, I was under the impression it was until I got 5 of the same order the other day because the shopper was super-excited and kept clicking the submit button, yikes!

  7. #27
    Join Date
    Jul 2004
    Posts
    167
    Plugin Contributions
    0

    Default Re: Double click problem

    Another satisfied customer now just to stop the b@$%***$ who have switched off Javascript!

  8. #28
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    280
    Plugin Contributions
    0

    Default Re: Double click problem

    read back to post #19
    It fixed my problem last spring and the double clicking problem has never occurred again.
    It's great.

    I found out the original source of the problem was the use of a 3rd party template. This extra code in post #19 fixed that template.
    Jeff Michaels,
    pres of Musical Creations Ltd.

  9. #29
    Join Date
    May 2008
    Location
    orlando, florida
    Posts
    27
    Plugin Contributions
    0

    Default Re: Double click problem

    Just another note to say thank you for this contribution! It works perfectly and will save us a lot of time and money in charge backs for duplicate orders. Great job and thank you!

  10. #30
    Join Date
    May 2008
    Location
    United States
    Posts
    490
    Plugin Contributions
    1

    Default Re: Double click problem

    I was also having this issue, this worked great!

    Thanks to all that created it!

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Double orders problem
    By Batman1969 in forum General Questions
    Replies: 1
    Last Post: 23 Feb 2011, 10:05 PM
  2. Admin Order page double click
    By gaurav10feb in forum General Questions
    Replies: 1
    Last Post: 14 Jan 2011, 06:41 AM
  3. Double menu problem
    By NYsista872 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Aug 2010, 02:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg