Magento Expert Forum - Improve your Magento experience
-
How to manage cookie policy magento 2?
HOW TO MANAGE COOKIE POLICY MAGENTO 2?
View more Magento 2 Themes
Cookies are designed to be a reliable mechanism for websites to remember stated information
(in an online store, they are items added to the shopping cart) or to record the user’s browsing
activity (including clicking particular buttons, logging in, or recording which pages were visited
in the past). Definitely, cookies create convenience for your customers in many ways. Therefore,
to manage cookie policy Magento 2 plays an important role in your store organization.
In this post, I gonna show you steps to manage cookies policy on Magento 2 store.
1. Enable cookies restriction mode
Admin panel > Stores > Configuration (under Settings)
On the left-hand side of the panel, click on Web under General. Then expand
the Default Cookie Settings section
there you’ll see 5 heads including:
Cookie Lifetime: enter the cookie lifetime in seconds
Cookie Path: enter cookie path if you want to make cookies available to other folders.
Cookie Domain: enter the subdomain name to make the cookies available to a subdomain
Use HTTP Only: If you set to “No”, user security could be compromised; set to “Yes”
to prevent scripting languages such as JavaScript from gaining access to cookies.
Cookie Restriction Mode: set to “Yes”
Then, click Save Config to complete to process
When prompted to update the cache, click the Cache Management link in the system message. Then, refresh the invalid cache.
2. Edit the Cookie Restriction Message
Admin panel > Content > Pages (under Elements)
VIEW DETAIL->
View more threads in the same category:
-
-
Junior Member
There are many countries that require the websites’ owners to warn the visitors about cookies. To comply with this law, you need to have a notification about your website cookies. Magento 2 Cookie Notice extension offers you an optimized method for your Magento 2 website if you want to abide by the Cookie Law in your country.
Key features of Cookie Notice for Magento 2 extensions:
- Show a cookie notification on your Magento 2 store
- Allow customers to accept the message
- Link to other pages with more information
- Easily customize messages and buttons to be displayed
- Configure to hide the notice automatically
We are always willing to support our customers, you will receive an outstanding support policy from our company with free installation, free update, free 1-year support and 30-day money back if you select our extensions. Install now!
-
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks