定制 mikielis/magento2-module-cookie-banner-rakuten 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mikielis/magento2-module-cookie-banner-rakuten

Composer 安装命令:

composer require mikielis/magento2-module-cookie-banner-rakuten

包简介

Magento 2 cookie banner - part of integration with Rakuten

README 文档

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-cookie-banner



magento-2-cookie-banner-2



magento-2-cookie-banner-3



magento-2-cookie-banner-4



Magento 2 admin:



magento-2-cookie-banner-5



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

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 10
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-11-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固