lizardmedia/module-cart-rule-mobile
Composer 安装命令:
composer require lizardmedia/module-cart-rule-mobile
包简介
Magento2 module adding custom cart rule for mobile devices
README 文档
README
Magento2 Cart Rule Mobile
A Magento2 module adding a custom Sales Rule for mobile devices.
It allows you to choose if the rule should be applied to mobile devices only or to desktop devices only.
Device detection
The rule uses a user-agent-based detection system. If you wish to override the detection
mthod simply change the implementation of \LizardMedia\CartRuleMobile\Api\MobileDetectorInterface.
Prerequisites
- Magento 2.2 or higher
- PHP 7.1
Installing
You can install the module by downloading a .zip file and unpacking it inside
app/code/LizardMedia/CartRuleMobile directory inside your Magento
or via Composer (required).
To install the module via Composer simply run
composer require lizardmedia/module-cart-rule-mobile
Than enable the module by running these command in the root of your Magento installation
bin/magento module:enable LizardMedia_CartRuleMobile
bin/magento setup:upgrade
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Maciej Sławik - Lizard Media
License
This project is licensed under the MIT License - see the LICENSE file for details
统计信息
- 总下载量: 1.25k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-07-28