自适应/ module-catalog
Magento2模块提供管理产品发布的特性。
1.0.0
2021-03-06 15:07 UTC
Requires
- php: ~7.2.0||~7.3.0||~7.4.0
This package is auto-updated.
Last update: 2024-08-31 02:44:03 UTC
README
该模块用于管理通过预指定日期的产品目录发布。
安装
-
Composer
-
通过composer要求
composer require adapttive/module-catalog
-
运行Magento命令
bin/magento setup:upgrade bin/magento setup:di:compile
-
-
手动
-
将zip文件解压到
magento2-root/app/code/Adapttive/Catalog
-
运行Magento命令
bin/magento setup:upgrade bin/magento setup:di:compile
-
使用
技术
ReleaseValidator
是验证产品发布日期的通用类\Adapttive\Catalog\Model\ReleaseValidator::validate
ReleaseObserver
是所有购物车请求的验证触发点\Adapttive\Catalog\Observer\ReleaseObserver::execute