Site logo

Archived topic

Deregister jquery - minicart content empty

1 reply · Started by Sammy on July 1, 2020

Viewing posts 1–2 of 2

I'm trying to make my frontend jquery-free, and did the following in functions.php:

wp_deregister_script('jquery');

I noticed the following ("broken" on frontend by the above):
1. Hover on product thumb images (like on newest products - frontpage) doesn't show secondary-image anymore. This was easily fixed with some simple CSS (why is Jquery even used here?)

2. Content of minicart is empty (= when you hover the minicart and it shows what is in the cart)
- I guess jquery is used to append the mini-cart content upon page load.

Would there be any way to make the mini-cart content "work"/appear without jquery?

This archived topic is closed to new replies.