ronb Posted November 19, 2006 Share Posted November 19, 2006 Hi I am having horrendous problems with customers double clicking the order confirmation button, and therefor getting duplicate orders I have downloaded and installed this contribution http://www.oscommerce.com/community/contri...h,checkout+java but it doesnt work, i can still click and get a duplicate order can any one give me a script that does work OR a way to change the button to say something like processing please wait........................ this is the addon from the above script which doesn't work in checkout_confirmation.php script language="JavaScript"><!-- var _submitted = false; validate = function () { _submitted = ( ! _submitted ) ? true : true ; if ( _submitted ) document.getElementById( "checkout_confirmation" ).submit() ; } --> </script> echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER, ' onClick="validate();" ') . '</form>' . "\n"; any suggestions thanks (im desperate) Link to comment Share on other sites More sharing options...
SeanB Posted November 19, 2006 Share Posted November 19, 2006 Personally, i'd take the easy route and put text under the button that says "DO NOT DOUBLE CLICK THIS BUTTON" or something like that. With some people, it's the only way you can help them. My website's address is in My Profile, since it's not allowed to be in my signature. Link to comment Share on other sites More sharing options...
ronb Posted November 19, 2006 Author Share Posted November 19, 2006 Personally, i'd take the easy route and put text under the button that says "DO NOT DOUBLE CLICK THIS BUTTON" or something like that. With some people, it's the only way you can help them. yep, ive already done that..... :) Link to comment Share on other sites More sharing options...
ronb Posted November 22, 2006 Author Share Posted November 22, 2006 Please anyone Im desperate !!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.