Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. We use this to reference to original object of plugin class. So, we don't need $subject like Magento

  2. Each plugin (after, before, around) is a function

Exercise: Sử dụng Plugin để:

  • Thay đổi ảnh của toàn bộ sản phẩm trên POS Là logo magestore