[Support request] Deregister jquery – minicart content empty

Home Forums Support Deregister jquery – minicart content empty

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1347883
    Sammy

    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?

    #1347996
    David
    Staff
    Customer Support

    Hi there,

    that has nothing to do with GP it’s to do with Woocommerce.
    Fortunately ( maybe ) with the advent of Gutenberg and Woo blocks they will finally get round to removing their jQuery dependency:

    https://github.com/woocommerce/woocommerce/issues/18395#issuecomment-636966694

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.