Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30
  1. #11
    Join Date
    Jun 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Double click problem

    Quote Originally Posted by BlindSide View Post
    It's likely something that IE7 broke. I honestly wonder if they're even trying anymore...

    Are you guys using a graphical submit button or an <input> tag? If you're using a graphic, try switching to an <input> and use one of the multitude of JS scripts out there for disabling a submit button.

    Thank you Frank for your reply.

    How do I change the graphical button to an input tag? I have found the code I think needs changing in the tpl_checkout_confirmation_default.php file but I don't know php all that well so I don't know how to change it. Below is the code I think needs changing:

    <?php
    echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation" onsubmit="submitonce();"');
    if (is_array($payment_modules->modules)) {
    echo $payment_modules->process_button();
    }
    ?>
    <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?></div>
    </form>

    Please could you let me know how I would change it.
    Thank you
    Debs

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

    Default Re: Double click problem

    Is there anybody reading this that is troubled by doubling orders very frequently? (several times a day for example) If so, I am willing to try a possible solution on your shop.

    It seems to have fixed it for me, but because I have not found a way to reproduce the problem I am not 100% sure, and I would like to test it on another shop as well.

  3. #13
    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. #14
    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. #15
    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. #16
    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. #17
    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.

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

    Default Re: Double click problem

    It's not just AOL
    I also had another double charge this morning with IE7 on XP

    SOMETHING has to be done about this
    It's driving us crazy and makes the customer look pretty dumb
    Jeff Michaels,
    pres of Musical Creations Ltd.

  9. #19
    Join Date
    Apr 2005
    Posts
    28
    Plugin Contributions
    0

    Default Re: Double click problem

    I have had the same problem and all the scripts to disable the confirm button didn't work and customers were still able to make double orders. But I was able to stop that using a script that hides that image and shows a progress bar when its clicked I have tested it on both FF & IE. This is not my script I just made it work for My Zen Cart its originally for Os commerce.
    Attached Files Attached Files

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

    Default Re: Double click problem

    THANKS!!!
    Talk about a life saver

    I cannot wait to try this out tonight on my test site!!!!

    :)

    Jeff
    Jeff Michaels,
    pres of Musical Creations Ltd.

 

 
Page 2 of 3 FirstFirst 123 LastLast

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