Support » Plugin: Code Snippets » Another woocommerce bug.. Can you help please?

  • Resolved webformation

    (@webformation)


    Hello, as you can see from the link a bug has finally been acknowledged in woocommerce and will be resolved in 3.9 (I hope) Users are being served supposedly backend tracking cookies which really slow down the site.

    In the mean time I wish to use the PHP snippet workaround detailed on the link. Can I ask please: Do we apply the snippet to the whole site or is there ability to just apply it to Woocommerce?

    Your advice would be appreciated as woocommerce are not forthcoming.
    Thankyou for your attention.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hi @webformation,

    If you are referring to this snippet:

    add_action('wp_loaded', function () {
    remove_action('admin_init', [\WC_Tracks_Client::class, 'maybe_set_identity_cookie']);
    }, 999);

    … then it is already specific to WooCommerce. It should be just added as a normal (or admin-only) snippet.

Viewing 1 replies (of 1 total)
  • The topic ‘Another woocommerce bug.. Can you help please?’ is closed to new replies.