mageup/module-limitcartitemqty

此包已被弃用且不再维护。未建议替代包。

限制购物车中物品的数量。

1.0.0 2018-05-27 19:16 UTC

This package is auto-updated.

Last update: 2020-09-04 17:25:56 UTC


README

使用此模块,可以限制客户在每次购买中购物车中的物品数量,允许设置自定义数量限制,当达到限制时,向客户显示一条信息(通过管理员自定义的消息)。

安装

使用 composer 安装

  1. 进入您的安装根目录

  2. 输入以下命令

    composer require mageup/module-limitcartitemqty:dev-master
  3. 在终端中输入以下命令以启用模块

    php bin/magento module:enable Trezo_LimitCartItemQty --clear-static-content
    php bin/magento setup:upgrade

或手动下载和安装

  • 创建以下文件夹结构 app/code/Trezo/LimitCartItemQty

  • 在此处下载最新版本 这里

  • 解压缩下载的文件并将文件夹复制到前面创建的目录中

  • 在终端中输入以下命令以启用模块

    php bin/magento module:enable Trezo_LimitCartItemQty --clear-static-content
    php bin/magento setup:upgrade