magenxcommerce/module-product-alert

不适用

安装: 127

依赖: 2

建议者: 0

安全: 0

星级: 0

关注者: 1

分支: 0

开放问题: 0

类型:magento2-module


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 中布局的更多信息,请参阅 布局文档

更多信息

更多信息可以在文章中找到

定时任务选项

定时任务组配置可以在 etc/crontab.xml 中设置

  • catalog_product_alert - 向客户发送产品提醒

了解如何在 Magento 中配置和运行定时任务。.