mikielis / magento2-module-cookie-banner-rakuten
Magento 2 cookie banner - part of integration with Rakuten
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.1.3||~7.2.0||~7.3.0
This package is not auto-updated.
Last update: 2025-05-05 23:20:59 UTC
README
This Magento 2 extension adds a notice telling visitors that your store uses cookies.
Tbe banner can be displayed in two different positions.
It contains a short sentence, three buttons - read more, accept cookies and close button (x).
It is possible to display store logo above the sentence.
The banner is customizable, below are listed available settings.
Functional settings:
-
enable/disable banner
-
cookie lifetime in seconds
-
Close button
- enable/disable button
- possible click results: hide banner and accept cookies / just hide the banner
-
Read more button
- enable/disable button
- possible click results: open linked page / display content of static block below the buttons (loaded in real-time with enabled loader)
Design settings:
- banner position - top or bottom area of each page
- logo - if enabled, it will be displayed above the sentence
- customisations to read more and accept cookies buttons
- select font color (separately for hover state)
- select background color (separately for hover state)
- border width and color
Content:
- editable sentence
- editable text of “read more” and “accept cookies" buttons
Rakuten integration
I have installed this extension as a part of the integration with Rakuten (rakuten.com) - see Rakuten's documentation part where window.__rmcp = [1,2,3,4,5] is required. However, the extension can be installed in any case.
Screenshots
Store:
Magento 2 admin:
Installation
Pull in the extension through Composer:
composer require "mikielis/magento2-module-cookie-banner-rakuten:*"
OR
download zipped extension and add its files to [magento root directory]/app/code/Mikielis/Cookie directory and follow listed steps from official guide: https://devdocs.magento.com/guides/v2.3/comp-mgr/install-extensions.html