Post by ninogui » Fri Aug 19, 2011 10:53 pm

Hello

This is a suggestion, I don´t know if there is a workaround for this already,

When a customer places an order there is a short lag while the system processes that request.

As soon as the user presses "confirm order" a floating box with (some basic animation would certainly help too, or a gif file) a sentence in the likes of "Hold On..." should be presented while request is being processed. This would avoid many mistakes from customers where they might think the systems stalled and go pressing somewhere else on the screen messing things up

New member

Posts

Joined
Thu May 05, 2011 7:52 pm

Post by ninogui » Sat Aug 20, 2011 3:47 pm

Is there a workaround with a few lines of code for this, or an add on module, free or not ?

New member

Posts

Joined
Thu May 05, 2011 7:52 pm

Post by uksitebuilder » Sat Aug 20, 2011 9:13 pm

Try this:

open: catalog/view/theme/default/template/checkout/checkout.tpl

find near end of file:

Code: Select all

//--></script> 
replace with:

Code: Select all

$('#button-confirm').live('click', function() {
			$('#confirm').prepend('<div id="please-wait" style="position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(255,255,255,0.95);z-index:99999;"><h1 style="margin:200px 0 50px 0; text-align:center;">Please Wait while we process your order</h1><p style="text-align:center;"><img src="image/data/order-process-wait.gif"></p></div>');
});		
//--></script> 
Also, upload the attached image to you image/data folder

Attachments

order-process-wait.gif

order-process-wait.gif (1.88 KiB) Viewed 887 times


ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by ninogui » Sat Aug 20, 2011 10:17 pm

thank you Simon

that´s a great little piece of code, I think it should be included on a default file installation

I would kindly ask for your comments on my other posts still not replied so far by anyone

http://forum.opencart.com/viewtopic.php?f=113&t=38972

http://forum.opencart.com/viewtopic.php?f=20&t=38981

http://forum.opencart.com/viewtopic.php?f=20&t=38964

greetings

New member

Posts

Joined
Thu May 05, 2011 7:52 pm

Post by viewcom » Fri Aug 30, 2013 11:08 pm

don't work the 1.5.5.1 at last "confirm order" button.
Can tell me how to mod it ? Thanks

Newbie

Posts

Joined
Tue Aug 27, 2013 11:33 pm
Who is online

Users browsing this forum: No registered users and 5 guests