WaPoNe Cookie Notification is a Magento 2 extension to inform users about use and management of your website cookies.
Run the following command in Magento 2 root folder
composer require wapone/module-cookie-notification
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
If you don't use composer to install the module but you download it directly, you also have to download https://github.com/WaPoNe/module-wapone-base module.
Go to Stores > Settings > Configuration > WaPoNe > Cookie Notification.
- Set Activation to 'YES'.
- Insert a value for Cookie Life (default value is 3600)
- Insert a value for Cookie Path (it is not required)
- Insert a value for Cookie Domain (it is not required)
- You have to choose Message Position (Top or Bottom)
- Insert the Message to display to users
- Insert an exadecimal value to set the color of Message Text
- Insert an exadecimal value to set the color of Message Background
- Insert the text for Cookie More Button
- Insert an exadecimal value to set the color of Cookie More Button Text
- Insert an exadecimal value to set the color of Cookie More Button Background
- Select how to open Cookie More Button Link (Same Frame or New Window)
- Select the page to link for Cookie More Button (default value is Privacy Policy page, in Luma Theme)
- Insert the text for Cookie Allow Button
- Insert an exadecimal value to set the color of Cookie Allow Button Text
- Insert an exadecimal value to set the color of Cookie Allow Button Background
- Magento CE:
- 2.1.x
- 2.2.x
- 2.3.x
- @nadeem0035