This post is related to this one:
https://www.gavick.com/forums/quark/js- ... kout-54085
but this post is closed now, so i open a new one.
I'm using the VM onepage checkout plugin in the Quark template Store version. (https://vmonepage.com/)
Any action (change payment for example) on the checkout page would result in the opg-modal-dialog freezes. I managed to solve this issue commenting the code in this post
https://www.gavick.com/forums/quark/vir ... or#p266119
/templates/gk_quark/js/gk.scripts.js
- Code: Select all
//j/Query('a').on('click',function(){
//if(jQuery(this).attr('href').substr(0,7) === 'mailto:') {
//ignore_onbeforeunload = true;
//} else {
//ignore_onbeforeunload = false;
//}
//});
This fix, stoped the modal the opg-modal-dialog freezes and it seems everything is working fine, but on the check-out process the e-mails to shopper and vendor is not sent.
I tested, and this is happening because of that change.
So, here i have a version with that code off:
https://tinyurl.com/yb76dd58
everything is working ok, but the e-mails after buying are not sent to the vendor or shopper
and here i have a version with that code on:
https://tinyurl.com/ybuhhjcl
any action on the checkout page will result in the opg-modal-dialog freezes. But if i disable the vmonepage pluggin the emails are sent and working properly.
Any idea on how to get the vmonepage plugin working without the opg-modal-dialog freeze and sending the emails to shoper and vendor when finishing the buy?
Regards