• Resolved Abhay

    (@abhay-raj)


    I want to add some constion in this script can you tell me patch for this script.

    <script type=’text/javascript’>
    jQuery( document ).ready(function() {
    try {
    jQuery(function () {
    try {
    //https://wordpress.org/support/topic/wrong-cookie-leads-to-ajax-request-on-every-page/
    jQuery.cookie(‘woocommerce_cart_hash’, ”, {path: ‘/’});
    } catch (e) {
    console.log(e);
    }
    });
    } catch (e) {
    console.log(e);
    }
    });

    </script>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How can i add conditions in this plugin’ is closed to new replies.