koval/module-cartdiscountamountinminicart

购物车中的折扣金额

1.0.0 2023-10-16 19:28 UTC

This package is not auto-updated.

Last update: 2024-09-17 22:07:13 UTC


README

``kowal/module-cartdiscountamountinminicart``

主要功能

购物车中的折扣金额

安装

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

类型 1: 压缩文件

  • 将压缩文件解压到 app/code/Kowal
  • 运行 php bin/magento module:enable Kowal_CartDiscountAmountInMinicart 启用模块
  • 运行 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-cartdiscountamountinminicart 安装模块composer
  • 运行 php bin/magento module:enable Kowal_CartDiscountAmountInMinicart 启用模块
  • 运行 php bin/magento setup:upgrade 应用数据库更新*
  • 运行 php bin/magento cache:flush 清理缓存

配置

规格

  • 插件
    • aroundGetSectionData - Magento\Checkout\CustomerData\Cart > Kowal\CartDiscountAmountInMinicart\Plugin\Frontend\Magento\Checkout\CustomerData\Cart

属性