VIRTUEMART CONFLICT GK-SCRIPTS

Support desk for Multipurpose Quark Theme
GK User
Tue Dec 20, 2016 10:47 am
Hi guys,

I´m very worried about this problem. In my shop, when I login to buy some article, the product prices dissappear! and in the cart page, it shows awful and the total price don´t show. I see with Firebug some script conflicts but I can´t solve it.

This is the URL http://demo.angelesypiruletas.com

Can you help me guys? I´m desesperate...
User avatar
Junior Boarder

GK User
Thu Dec 22, 2016 12:45 am
I located the conflict (I think).

I use WM Onepage checkout, when I go to checkout , the page not load, the button doesn´t work. In firebug appears this error:

Code: Select all
TypeError: jQuery(...).attr(...) is undefined


In gk.scripts.js (line 802, col 6) it seems the part of the preload, If I comment these lines, the error dissappears but I need the preload!

Could you check this?
Site URL: http://demo.angelesypiruletas.com/mi-carrito
User avatar
Junior Boarder

GK User
Thu Dec 22, 2016 1:03 am
I comment:
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;
       //}
   //});


And now works fine, but....I feel that this surely crack another thing...

Someone can help me?
User avatar
Junior Boarder

teitbite
Tue Dec 27, 2016 10:25 am
Hi

This script only reacts when clicking a link to a mail. It's really nothing crucial, so I'm amazed it has raised a conflict. I think it's more of a wrong jQuery version being used on the site than this script itself.
User avatar
Moderator


cron