• Resolved kumaresan

    (@kumaresanwp)


    I have moved the cart_widget.min.js file to theme code js file for optimizing the website performance.

    And i need to remove this file from calling but i can’t find the location of the file cart_widget.min.js file includes.

    Can you please say where this file included to load when the website loading. Because the GTmatrix shows this URL is bad request.

Viewing 3 replies - 1 through 3 (of 3 total)
  • That file is in: woocommerce-multilingual\inc\class-wcml-resources.php
    The line is number 129:
    wp_register_script( 'cart-widget', WCML_PLUGIN_URL . '/res/js/cart_widget' . WCML_JS_MIN . '.js', array('jquery'), WCML_VERSION );

    I hope that helps you.

    Thread Starter kumaresan

    (@kumaresanwp)

    Hi George,

    Are you sure cart_widget.min.js this file called by above code.
    Because we have to file
    1) cart_widget.min.js
    2) cart_widget.js

    You said in above code have file cart_widget (the second file). But i need to remove (cart_widget.min.js) file

    Yes, I am sure that cart_widget.min.js is called by that code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need to remove css file’ is closed to new replies.