Adobe Commerce条件付きイベント
Adobe Developer App Builder で使用できるAdobe Commerceの条件付きイベントについて説明します。 その他のドキュメントの参照先 Adobe CommerceのAdobe I/Oイベントのインストール.
このビデオの目的は誰ですか。
- I/O イベントを使用してAdobe CommerceとAdobe Developer App Builder を初めて使用し、Adobeの App Builder プロジェクトを作成する必要がある開発者。
ビデオコンテンツ video-content
- 条件付きイベントについて学ぶ
- 新しい XML ファイル io_events.xml の適切な使用方法を説明します
- 条件付きイベントの設定方法を学ぶ
- 条件付きイベントで使用するルールの定義
- Commerce インスタンスにイベントを登録する方法を説明します
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
その他の関連チュートリアル
3a5f7e19-f383-4af8-8983-d01154c1402f