• Hello.
    Error in the console:

    frontend.js?ver=1.2.5:31 Uncaught ReferenceError: wc_cart_fragments_params is not defined

    the problem is in this line:

    sessionStorage.setItem(wc_cart_fragments_params.fragment_name, JSON.stringify(response.fragments));

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author HashThemes

    (@hashthemes)

    Thank you for reporting the issue. We will fix it ASAP in our next update release.

    Thread Starter calliko

    (@calliko)

    add this code and be good:

    function enqueue_wc_cart_fragments() { wp_enqueue_script( 'wc-cart-fragments' ); } add_action( 'wp_enqueue_scripts', 'enqueue_wc_cart_fragments' );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error in the console’ is closed to new replies.