Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Remove jQuery, theme conflict
- This topic has 9 replies, 5 voices, and was last updated 10 years ago by wzp.
-
AuthorPosts
-
November 4, 2014 at 9:57 pm #11734fox_a_derekMember
If I’m not using the light box or thumbnail lightbox (I’m only using the “add to cart” short code and cart)…can I remove the jQuery loads from the plugin. There is a conflict with the theme (I’m aware that it is probably the theme’s incorrect use) but am hoping I can fix on the plugin side. Thanks
November 5, 2014 at 1:00 am #66564wpCommerceModeratorHi, Can you please provide a link to the page in question so I can take a look?
November 5, 2014 at 3:34 pm #66565fox_a_derekMemberI get the errors on all pages:
[http://alysonfox.com/2014/]
I’m using the add to cart here:
[http://alysonfox.com/2014/clothes/]
Thanks.
November 5, 2014 at 11:48 pm #66566wpCommerceModeratorThanks. Actually the errors are not getting triggered because of a conflict. Your theme seems to be including jQuery in the footer. It needs to be included before all other JavaScript files/codes are included on that page. The following post has more explanation for you:
Is there any option in the theme settings to include it at the top?
November 6, 2014 at 2:08 am #66567fox_a_derekMemberNo, nothing in the settings. So, the includes in the footer trigger errors only when the plugin is activated?
November 6, 2014 at 2:10 am #66568adminKeymasterHave a look at the following post (show it to your theme developer so he can fix the theme):
November 6, 2014 at 9:22 pm #66569fox_a_derekMemberI understand that the theme developer is doing it incorrectly, but there is no way I can change something in the plugin?
November 6, 2014 at 11:23 pm #66570adminKeymasterYour theme is already removing the jquery and adding it in the footer. So that code need to be stopped. eStore is not outputting any query library on your site right now. The problem is coming from the library being included at the bottom (which your theme is doing).
January 10, 2015 at 5:33 am #66571mplMemberHi there,
I use the same theme and have the same problem.
@admin, would it possible to send my data to you?
@fox_a_derek, maybe you could post your solution?Thank you!
January 10, 2015 at 5:47 pm #66572 -
AuthorPosts
- You must be logged in to reply to this topic.