London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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?