Hello!
I have an issue with the cart popup/expansion on mousehover.
Ther cart in the top right corner, is supposed to expand on hover, and it does - but only on some pages.
It works correctly on the product list, homepage, etc. But on product pages it doesn't expand for some reason.
The webshop is www.istol.dk
Anyone who can help?
See this picture:
Thank you in advance.
Hi @aaimport
Please visit the browser console when you are viewing your site.
1) On Home page
2) On product page
3) Customer login page
4) Checkout page
You will notice there is a java script error only on your product view page.
Uncaught TypeError: jQuery(...).superfish is not a function superfish.js:123
I think this is causing the problem with your top mini cart.
If you go to your superfish.js file you will see in the last of your file as
jQuery(function(){ jQuery('.sf-menu').superfish() })
Try to replace this with
jQuery(function($){ jQuery('.sf-menu').superfish() })
and see if it works for you.
NOTE : Do this first on development server , not on production
Please refer following url it may be helpful http://stackoverflow.com/a/9711567
I have tried to change the line, but it didn't help. It still gives the same error in the console