Plugin level configuration
Listeners get executed only before, after, or when the plugin fails for the configured event.
|
The configuration in a snippet, e.g.,
<customer-installation-dir>/operations.json
, can look like this:{
"operations": {
"general": {
"catalog_product_tier_price": {
"add-update": {
"plugins": {
"subject": {
"id": "import.plugin.subject",
"listeners": [
{
"plugin.process.success": [
"import_product_tier_price.listener.delete.obsolete.tier_prices"
]
}
],
"subjects": [ ... ]
}
}
}
}
}
}
}