JS errors - VM onepage checkout
Support desk for Multipurpose Quark Theme
- GK User
- Tue May 23, 2017 8:56 pm
Hello,
I'm using the VM onepage checkout plugin in the Quark template Store version. (https://vmonepage.com/)
At first, any action 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
However there's still some conflicts/errors because when we click in "Notas e pedidos especiais" (Notes and special requests) the popup doesn't show and we're redirect to the homepage.
How can i fix this so the special comments popup shows correctly?
I'm guessing it's something related with gk.scripts.js too, but i'm not finding the error. Or it can be something related with what Teitbite said in the above post:
?
Am i using the right jQuery version? How can i check that and update my site JQuery version if needed?
http://beweb.me/cookiesbakery.pt/loja
Thanks
I'm using the VM onepage checkout plugin in the Quark template Store version. (https://vmonepage.com/)
At first, any action 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;
//}
//});
However there's still some conflicts/errors because when we click in "Notas e pedidos especiais" (Notes and special requests) the popup doesn't show and we're redirect to the homepage.
How can i fix this so the special comments popup shows correctly?
I'm guessing it's something related with gk.scripts.js too, but i'm not finding the error. Or it can be something related with what Teitbite said in the above post:
I think it's more of a wrong jQuery version being used on the site than this script itself.
?
Am i using the right jQuery version? How can i check that and update my site JQuery version if needed?
http://beweb.me/cookiesbakery.pt/loja
Thanks
-
- Senior Boarder
- teitbite
- Sat May 27, 2017 2:53 pm
Hi
I cannot find "Notas e pedidos especiais" anywhere. Can You please guide me to where to look for it? I'll check if there is no multiple jquery versions and what errors appear in console.
I cannot find "Notas e pedidos especiais" anywhere. Can You please guide me to where to look for it? I'll check if there is no multiple jquery versions and what errors appear in console.
-
- Moderator
- GK User
- Sat May 27, 2017 8:30 pm
Hi,
So, go to :
http://beweb.me/cookiesbakery.pt/cookie-bomb
Add to cart -> proceed to check out
On the checkout process, bottom right, there's the button "Notas e pedidos especiais" (print screen attach)
When we click that button, the pop up doesn't show and we are redirect to the homepage.
Thanks
So, go to :
http://beweb.me/cookiesbakery.pt/cookie-bomb
Add to cart -> proceed to check out
On the checkout process, bottom right, there's the button "Notas e pedidos especiais" (print screen attach)
When we click that button, the pop up doesn't show and we are redirect to the homepage.
Thanks
-
- Senior Boarder
- teitbite
- Thu Jun 01, 2017 9:59 am
Hi
This popup is using same syntax as our scroll to anchor script. Please disable it in template's configuration or remove it from /js/gk.scripts.js file. It will be called SmoothScrolling.
This popup is using same syntax as our scroll to anchor script. Please disable it in template's configuration or remove it from /js/gk.scripts.js file. It will be called SmoothScrolling.
-
- Moderator
- GK User
- Fri Jun 02, 2017 2:22 am
Thanks Teitbite,
I didn't find where to disable it in template's configuration, but i remove it from js/gk.scripts.js and it's working fine now.
Cheers
I didn't find where to disable it in template's configuration, but i remove it from js/gk.scripts.js and it's working fine now.
Cheers
-
- Senior Boarder
- teitbite
- Mon Jun 05, 2017 10:05 am
Hi
Ok. Great to hear it. Closing this thread now.
Ok. Great to hear it. Closing this thread now.
-
- Moderator
6 posts
• Page 1 of 1