kowal/module-shippingandpaymentwithrestriction

带限制的支付和发货

1.0.0 2020-07-22 22:12 UTC

This package is auto-updated.

Last update: 2024-09-23 06:06:25 UTC


README

``kowal/module-shippingandpaymentwithrestriction``

主要功能

带限制的支付和发货

安装

* = 在生产环境中请使用 --keep-generated 选项

类型 1: 压缩文件

  • 将压缩文件解压到 app/code/Kowal
  • 通过运行 php bin/magento module:enable Kowal_ShippingAndPaymentWithRestriction 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

类型 2: Composer

  • 将模块添加到 composer 仓库,例如
    • 私有仓库 repo.magento.com
    • 公共仓库 packagist.org
    • 公共 GitHub 仓库作为 vcs
  • 通过运行 composer config repositories.repo.magento.com composer https://repo.magento.com/ 将 composer 仓库添加到配置
  • 通过运行 composer require kowal/module-shippingandpaymentwithrestriction 安装模块 composer
  • 通过运行 php bin/magento module:enable Kowal_ShippingAndPaymentWithRestriction 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

配置

  • 收货 - carriers/odbior/*

  • 取货 - carriers/pobranie/*

  • 预付 - carriers/przedplata/*

  • 现金 - payment/gotowka/*

  • 取货 - payment/pobranie/*

规格

  • 运输方式

    • 收货
  • 运输方式

    • 取货
  • 运输方式

    • 预付
  • 插件

    • aroundGetAvailableMethods - Magento\Payment\Model\MethodList > Kowal\ShippingAndPaymentWithRestriction\Plugin\Magento\Payment\Model\MethodList
  • 支付方式

    • 现金
  • 支付方式

    • 取货

属性