Shared on Mage Dispatch · 24 Feb 2025
Interceptors and Plugins
Want to modify Magento 2 class behavior without changing core files? In this video, we dive into Plugins (Interceptors)—one of the most powerful customization techniques in Magento 2.
Shared on Mage Dispatch · 24 Feb 2025
Want to modify Magento 2 class behavior without changing core files? In this video, we dive into Plugins (Interceptors)—one of the most powerful customization techniques in Magento 2.
Adds an around plugin to make bulk acknowledgement idempotent using insertOnDuplicate, preventing duplicate-key errors when dismissing completed asynchronous operation notifications in Admin. Includes installation and verification steps.
Enables running your store under FrankenPHP worker mode, installable via Composer with brief setup instructions.
Refactor common code paths with the |> operator to chain transformations for collections, request sanitization, config pipelines, service workflows, import/export, plugins, and observers. Includes pipe‑friendly helper design tips and when a pipeline isn’t the right fit.
Mage Dispatch is a community-run archive and bi-weekly newsletter for the Magento, Adobe Commerce and Mage-OS ecosystem. Modules, articles, security advisories and tools, hand-picked by developers and shared so good work does not disappear into the void.
Browse the latest links → Explore by topic → Submit a link → About us →