Support » Plugin: Agy - Age verification for WooCommerce » Cookie policy is not working

  • Resolved ssabaripriyatharshini

    (@ssabaripriyatharshini)


    Seems the cookie life time isn’t working.
    Also is there any possibility to add a short code only for one page.

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

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

    (@patrickposner)

    Hey @ssabaripriyatharshini,

    you have a JavaScript error preventing Agy from working correctly.
    Take a look at your browser’s console.

    You have an unneeded quote there:

    <script>
        $("#myHref").on('click', function() {
        document.getElementById("demo").style.display = "none";
         window.location = "http://www.google.com";
    
    });

    </script>`

    Thread Starter ssabaripriyatharshini

    (@ssabaripriyatharshini)

    Hi i removed the script still i’m getting the popup for every refresh. Can you please help me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cookie policy is not working’ is closed to new replies.