magestyapps/magento2-fix-discount-rules 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

magestyapps/magento2-fix-discount-rules

Composer 安装命令:

composer require magestyapps/magento2-fix-discount-rules

包简介

Fix for shopping cart rules 'Payment Method' condition in Magento 2

README 文档

README

If you try to create a new discount rule in Magento 2, you'll see a condition called "Payment Method" there. This condition means that the discount will be applied in case a customer selects a certain payment method. But actually, this rule will not work due to a small omission in Magento 2 checkout. The module in the repo fixes the issue.

Installation

via Composer (recommended)

Run the following command from your Mangento root folder:

   composer require magestyapps/magento2-fix-discount-rules 

Manually

  • Create folder 'app/code/MagestyApps/FixRules/' in you Magento setup

  • Extract the repo files to the folder

  • Open console (terminal)

  • In the console (terminal) navigate to your magento root folder:

    cd /path/to/your/magento
    
  • Install the new module using the command below:

    php bin/magento setup:upgrade
    

Description

You can find some code explanations in our blog post: Cart Price Rules Based on Payment Method Don't Work

Some of code parts have been taken from our Payment Fees extension for Magento 2

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 2
  • Forks: 3
  • 开发语言: JavaScript

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2020-05-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固