iwaysgmbh / module-paypal-instalments-banners
为 Magento 2 优化的 PayPal 分期付款横幅
1.0.2
2020-09-01 15:14 UTC
Requires
- php: ~7.2.0|~7.3.0|~7.4.3
- magento/module-paypal: 100.0.*|100.1.*|100.2.*|100.3.*|101.0.*
This package is auto-updated.
Last update: 2024-09-12 14:34:05 UTC
README
PayPal 分期付款横幅是一个解决方案,PayPal 允许您在已激活的商店区域的每个位置显示横幅,并在此处渲染横幅。通过点击横幅,会出现一个弹出窗口,显示所需的信息,基于当前购物车物品的总价和当前查看的产品。此选项非常适合价格较高的商品。重要提示:客户无法通过这些横幅进行任何付款。
要求
- Magento 社区版 v2.3.2 或更高版本
- PHP v7.2.0 或更高版本
- PayPal 商户凭证
安装
为了使用 composer 安装此模块,请编辑或创建 composer.json 文件中的“repositories”条目
{
"repositories": [
{
"url": "https://github.com/i-ways/magento2-paypal-instalments-banners",
"type": "vcs"
}
]
}
然后在同一文件中“require”条目下添加以下行
{
"require": {
"iways/module-paypal-instalments-banners": “~1.0.2”
}
}
或者使用命令“composer require iways/module-paypal-instalments-banners”让 composer 为您处理。
现在,使用 Magento 2 CLI 从您的应用程序根目录启用模块
bin/magento module:enable --clear-static-content Iways_PaypalInstalmentsBanners
为了初始化数据库更新,请运行以下命令
bin/magento setup:upgrade
根据您的 Magento 2 安装设置,您可能还需要运行以下附加命令
bin/magento setup:di:compile
此时,PayPal 分期付款横幅模块应该已安装,正确启用并使用默认配置,准备使用。您可能还需要在 Magento 的管理面板中输入有效的 PayPal 商户客户端 ID,保存配置并刷新 Magento 的缓存,以便在前端看到渲染的横幅。请参阅“商店/配置/PAYPAL/分期付款横幅”下的配置选项,每个区域的可能值有:无(不渲染)、白色、灰色、蓝色和黑色。
文件系统
.
├── Block
│ ├── Widget
│ │ └── Banner.php
│ ├── Head.php
│ └── Logo.php
├── Helper
│ └── Data.php
├── Model
│ ├── System
│ │ └── Config
│ │ └── Source
│ │ └── Banner
│ │ ├── Color.php
│ │ └── Ratio.php
│ └── ConfigProvider.php
├── Observer
│ └── Admin
│ └── System
│ └── Config
│ └── Changed
│ └── Section
│ └── Validate.php
├── etc
│ ├── adminhtml
│ │ ├── events.xml
│ │ └── system.xml
│ ├── frontend
│ │ └── di.xml
│ ├── acl.xml
│ ├── config.xml
│ ├── module.xml
│ └── widget.xml
├── i18n
│ └── de_DE.csv
├── view
│ ├── adminhtml
│ │ └── web
│ │ └── images
│ │ ├── icon_32x32.png
│ │ └── icon_64x64.png
│ └── frontend
│ ├── layout
│ │ ├── catalog_product_view.xml
│ │ ├── catalog_product_view_type_bundle.xml
│ │ ├── catalog_product_view_type_configurable.xml
│ │ ├── catalog_product_view_type_downloadable.xml
│ │ ├── checkout_cart_index.xml
│ │ ├── checkout_index_index.xml
│ │ └── default.xml
│ ├── templates
│ │ ├── widget
│ │ │ └── banner.phtml
│ │ └── logo.phtml
│ └── web
│ ├── css
│ │ └── iways-paypalinstalmentsbanners.css
│ ├── images
│ │ ├── logo.png
│ │ ├── logo_hq.png
│ │ ├── logo_original.png
│ │ └── paypal_logo.png
│ ├── js
│ │ ├── view
│ │ │ └── banner.js
│ │ └── iways-paypalinstalmentsbanners.js
│ └── template
│ └── widget
│ └── banner.html
├── README.md
├── RELEASE_NOTES.txt
├── composer.json
└── registration.php
问题
请使用我们的服务台:https://support.i-ways.net/hc/de