Hello,
have done everything following your instructions unfortunately the cookie is still loaded.
I also tested it on a new WordPress installation with the following setup:
- WordPress
- WooCommerce
- Cookie Notice & Compliance for GDPR / CCPA from Hu-manity.co
- Code snippets
I inserted the code with the plugin Code Snippets in the Function.php.
The code was also inserted directly into the Function.php without plugin.
Both variants did not work.
In the Cookie Plugin I have activated the option “Enable to reload the page after the notice is accepted”.
Hope you can help me further
Many thanks in advance