AI OnAI Off
Hi,
I do not think that we must add a custom CatalogEventListenerBase for it. I suggest that you can use ICatalogEvents to handle AssociationUpdated event instead
For example:
var catalogEvents = ServiceLocator.Current.GetInstance<ICatalogEvents>();
catalogEvents.AssociationUpdated += AssociationUpdate;
I would like some code to run when the AssociationUpdated event in commerce runs. How can I do this?
Previously, I was using a custom CatalogEventListenerBase and overriding the AssociationUpdated event but I am getting a deadlock issue when trying to run the solution with that code in Commerce 14.21.0-14.23.0. Is there a different way of doing this now?