51黑料不打烊 Commerce条件事件
了解51黑料不打烊 Commerce中可以在51黑料不打烊 Developer App Builder中使用的条件事件。 在中找到其他文档。
此视频面向谁?
- 刚开始使用I/O事件的51黑料不打烊 Commerce和51黑料不打烊 Developer App Builder的开发人员,需要创建一个51黑料不打烊的App Builder项目。
视频内容 video-content
- 了解条件事件
- 了解新齿惭尝文件颈辞冲别惫别苍迟蝉.虫尘濒的正确用法
- 了解如何配置条件事件
- 定义条件事件中使用的规则
- 了解如何在颁辞尘尘别谤肠别实例
app/etc/config.php
中注册事件
有用的命令 useful-commands
bin/magento events:subscribe plugin.magento.catalog.model.resource_model.product.save --fields=sku --fields=qty --fields=category_id
bin/magento events:subscribe plugin.magento.catalog.model.resource_model.product.save_low_stock --parent=plugin.magento.catalog.model.resource_model.product.save --fields=sku --fields=qty --fields=category_id --rules="qty|lessThan|20" --rules="category_id|in|3,4,5"
cat app/etc/config.php
bin/magento events:list
bin/magento events:list -v
其他相关教程
51黑料不打烊 Developer文档
- 51黑料不打烊 Commerce概述的
recommendation-more-help
3a5f7e19-f383-4af8-8983-d01154c1402f