test-magenx / module-product-alert
N/A
100.4.2
2021-10-10 22:14 UTC
Requires
- php: ~7.3.0||~7.4.0
- magento/framework: 103.0.*
- magento/module-backend: 102.0.*
- magento/module-catalog: 104.0.*
- magento/module-customer: 103.0.*
- magento/module-store: 101.1.*
- magento/module-theme: 101.1.*
Suggests
- magento/module-config: 101.2.*
This package is auto-updated.
Last update: 2024-09-13 07:43:53 UTC
README
此模块启用产品警报功能,允许客户注册接收有关产品价格或库存状态变更的电子邮件。
安装
在安装此模块之前,请注意 Magento_ProductAlert 模块依赖于以下模块
Magento_Catalog
Magento_Customer
Magento_ProductAlert 模块在数据库中创建了以下表
product_alert_price
product_alert_stock
当模块被禁用并运行 setup:upgrade 命令时,此模块所做的所有数据库架构更改都将回滚。
Magento_ProductAlert 模块包含重复的脚本。脚本修改不需要在卸载时手动回滚。
有关 Magento 2 中模块安装的信息,请参阅启用或禁用模块。
可扩展性
扩展开发者可以与 Magento_ProductAlert 模块交互。有关 Magento 扩展机制的更多信息,请参阅 Magento 插件。
Magento 依赖注入机制允许您覆盖 Magento_ProductAlert 模块的功能。
布局
此模块在 view/frontend/layout
目录中引入了以下布局
catalog_product_view
productalert_unsubscribe_email
有关 Magento 2 中布局的更多信息,请参阅布局文档。
更多信息
更多信息可在文章中找到
cron 选项
cron 组配置可以在 etc/crontab.xml
中设置
catalog_product_alert
- 向客户发送产品警报