文件Commerce影片和教學課程

Adobe Commerce條件事件

最後更新: 2025年5月5日
  • 主題:
  • App Builder
  • 事件
  • 後台開發

建立對象:

  • 初學者
  • 中繼
  • 開發人員

瞭解可用於Adobe Developer App Builder的Adobe Commerce條件事件。 在安裝Adobe Commerce的Adobe I/O事件找到其他檔案。

這部影片是給誰看的?

  • 剛開始使用I/O事件的Adobe Commerce和Adobe Developer App Builder的開發人員,需要建立Adobe的App Builder專案。

視訊內容

  • 瞭解條件事件
  • 瞭解新XML檔案io_events.xml的正確用法
  • 瞭解如何設定條件式事件
  • 定義用於條件事件的規則
  • 瞭解如何在Commerce執行個體app/etc/config.php中註冊事件

video poster

https://video.tv.adobe.com/v/3430658?quality=12&learn=on&captions=chi_hant

有用的命令

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

其他相關的教學課程

  • IO事件快速入門
  • Adobe Commerce 2.4.5安裝
  • Adobe Commerce 2.4.6安裝
  • 建立App Builder專案
  • Adobe Commerce設定
  • Adobe Commerce模組開發
  • Adobe Commerce條件事件

Adobe Developer檔案

  • Adobe Commerce總覽的Adobe I/O活動
recommendation-more-help
3a5f7e19-f383-4af8-8983-d01154c1402f