Hi rgconrad1,
If you look at the developer console while on your catalogue page, you’ll see that there are numerous errors that would seem to indicate that jQuery isn’t being loaded properly. This usually happens because jQuery is being loaded multiple times.
We took a look at the source code ourselves and found these two instances of jQuery being called twice:
[yourURL]/wp-includes/js/jquery/jquery.js?ver=1.12.4
[yourURL]/wp-content/themes/southernglovenew/js/jquery-1.9.0.min.js?ver=5.1.1
The [yourURL]/wp-content/themes/southernglovenew/... link indicates that it’s being included with your theme, so the first thing we would suggest would be to temporarily switch themes and see if the catalogue works then.
If it does (and if you’re not certain on how to add wp_enqueue_script code to functions.php) then you may want to contact the ‘southernglovenew’ theme developers to see if there’s some way to exclude the jQuery in their theme.
I changed themes and did confirm that it is working correctly. I developed the custom theme but i am not sure what to do here since it clearly is a js conflict.
Actually, I removed the js temporarily to see if it broke anything on the site and so far it appears to be working except it broke our global search function.
-
This reply was modified 6 years, 11 months ago by
rgconrad1.
Hi @rgconrad1, glad to know what the root of problem is.
Have you considered looking into jQuery noConflict?
Perhaps it can help you solve this issue.
Find out more here: https://api.jquery.com/jquery.noconflict/