3

How can I change the value of privacy-policy-cookie-restriction-mode link to a link of my choice? I am using Magento 2.3.2. I saw this Magento 1.9 but I do not have such page. Is there something I am missing or did wrong?

3
  • do you want to change URL of privacy-policy-cookie-restriction-mode ?
    – Pawan
    Nov 24, 2019 at 10:17
  • Yes just the url.
    – h3k
    Nov 24, 2019 at 16:35
  • did you tried my solution ?
    – Pawan
    Dec 24, 2019 at 3:27

1 Answer 1

4

You can copy the cookie notice template to your own theme and change the URL according to your needs.

According to this answer you can copy the template from this file:

vendor/magento/module-cookie/view/frontend/templates/html/notices.phtml

to your own theme:

app/design/frontend/[VendorName]/[ThemeName]/Magento_Cookie/templates/html/notices.phtml

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.