Hi there,
I have some custom logic in a menu that uses some caching to improve performance. I'd like to clear the cache whenever someone creates or modifies a product, or when the sorting changes. I currently have the following subscribers:
[Subscribe(eCommerce.Product.AfterSave)]
[Subscribe(eCommerce.Product.AfterDelete)]
[Subscribe(eCommerce.Group.AfterSave)]
[Subscribe(eCommerce.Group.Deleted)]
However, Product.AfterSave doesn't seem to trigger when I create a new product, only when you save an existing one.
Furthermore, there seems to be no subscriber for changing the sort order. There is an OnSorting, but I believe that sorts when you sort the products in the Product list in the backend UI, not when you manually change the "custom sort order'.
Can the following two notifications be added:
[Subscribe(eCommerce.Product.AfterCreate)]
[Subscribe(eCommerce.ProductList.AfterCustomOrderChange)]
Thanks,
Imar