Results 1 to 10 of 30

Hybrid View

  1. #1
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Double click problem

    I use Google Analytics and the Analytics server has been slow recently, which seems to be making customers panic and press the submit button a second time.
    A slow page change will cause folks to become impatient and click multiple times. You may want to add a warning to the page to only click once and to wait.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  2. #2
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: Double click problem

    Quote Originally Posted by Kim View Post
    A slow page change will cause folks to become impatient and click multiple times. You may want to add a warning to the page to only click once and to wait.
    Does this mean that there is no js double click prevention built in after all? I thought 1.3.6 and newer Zen Cart versions included some js code to prevent double clicks. But I know little about js, so I may very well be wrong.

  3. #3
    Join Date
    Oct 2006
    Posts
    64
    Plugin Contributions
    0

    Default Re: Double click problem

    Anyone found a simple solution for this issue? I am using 1.3.7 and all Java script is where it is supposed to be, but if a customer clicks more than once multiple orders can be created. This however can not be duplicated in FireFox. In IE7 I can easily duplicate the problem. The current submitonce code does nothing to stop the issue in IE7.

    Thanks

  4. #4
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: Double click problem

    What did the trick for me was to store the sessions as files (i.s.o. in the database). On shared servers this is not recommended though.

    I started a topic about my findings here: http://www.zen-cart.com/forum/showthread.php?t=82029

    hth

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

    Default Re: Double click problem

    We are having the same problem and it is a shared server, unfortunately. I'd really like some advice about the java option.

    I have switched from a graphic button to a submit button as suggested but I'm lost when it comes to Java. I tried one solution that I found, but, although the button was disabled onclick, nothing was submitted.

    I also found a php suggestion in a Java forum (go figure) and here is my code for the submit button after applying this method:
    Code:
    <input type="submit" name="btn_submit" id="btn_submit" value="Confirm Order" <?php if (isset($_POST['act'])) echo ' disabled="disabled"' ?>/>
    This seems to submit and process just fine in IE7 and Firefox; however, in IE I get an "error on page" message at the bottom while it is processing.

    Any ideas? I feel I'm getting really close. Thanks.

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

    Default Re: Double click problem

    Is there any more advice on this situation with double clicks?
    I have all the proper code installed and also my javascript timeout is set to many MINUTES and still some customers double charge their orders.

    After reading this, I can only image that it's IE7
    I can't test this as I only use Macs here
    Jeff Michaels,
    pres of Musical Creations Ltd.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Double click problem

    If the customer's browser is an AOL browser that has javascript support disabled, then there's nothing you can do about the double-click problem other than to give them great big warnings in big letters next to the submit button.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

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