VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: padalec on July 28, 2014, 20:37:06 PM

Title: animate loader after order confirmation
Post by: padalec on July 28, 2014, 20:37:06 PM
After some usability testing I found that users on slower connections didn't wait on order confirmation (at the check out page). Instead they were impatient and they clicked several times the button to order..

The solution  will be to show a loading animating icon on order confirmation, while wepage loads/ redirects to thank you page.

Any plugins / javascript  / css  / ideas to do this.

Thank you
Title: Re: animate loader after order confirmation
Post by: Milbo on July 28, 2014, 22:20:05 PM
Yes, please check the js in vm2.6.7, we just need to add there the right line to show a loader, we are happy if you help us and provide this information here (funny just talked about that today)
Title: Re: animate loader after order confirmation
Post by: padalec on July 29, 2014, 20:59:53 PM
Thank you for anwser.

I have very low knowledge about javascript. Can you please point me in the right direction?

Which js file / part of code should be modified ?

Thank you.

Title: Re: animate loader after order confirmation
Post by: Milbo on July 31, 2014, 13:11:13 PM
it is in the default.php of the cart view components\com_virtuemart\views\cart\tmpl\default.php around line  82-93
Title: Re: animate loader after order confirmation
Post by: padalec on August 03, 2014, 20:37:12 PM
Thank you for your tip ..

I will try to create a spinning icon with the help of my friend who knows javascript. I will post results here ..

Bye