Hey Rusty, happy to say I'm back working with Merchello!
I am looking to invalidate some cache objects based around (static) product collections when they are updated. Are there any events I can subscribe to?
NB I have tried EntityCollectionService.Saved but, unlike ProductService.Saved, I cannot seem to get this event handler to fire when I modify the collection in the backoffice.
Some further info: When I modify the collection name and hit Save, my EntityCollectionService.Saving and EntityCollectionService.Saved event handlers fire. However, nothing is fired when a product is added or removed to the collection.
Collection updated event
Hey Rusty, happy to say I'm back working with Merchello!
I am looking to invalidate some cache objects based around (static) product collections when they are updated. Are there any events I can subscribe to?
NB I have tried
EntityCollectionService.Saved
but, unlikeProductService.Saved
, I cannot seem to get this event handler to fire when I modify the collection in the backoffice.Some further info: When I modify the collection name and hit Save, my
EntityCollectionService.Saving
andEntityCollectionService.Saved
event handlers fire. However, nothing is fired when a product is added or removed to the collection.is working on a reply...