Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
This topic shows how you can react to changes to catalog items by handling events.
IContentEvents (namespace EPiServer.Core) defines events that apply to catalog items as long as they are updated through the Content API; for example, when the Catalog UI is used or when the Content API is used from code.
Note: These events are not raised when a catalog item is updated through Commerce Manager or in code using ICatalogSystem.
CatalogEventHandler (namespace EPiServer.Commerce.Catalog.Provider), like IContentEvents, defines events using the Content model. It raises events only for changes done directly through ICatalogSystem; that is, IContentEvents do not raise events for the actions.
CatalogEventBroadcaster (namespace Mediachase.Commerce.Catalog.Events) defines events that are raised when changes are done through ICatalogSystem, including changes made through the Content APIs. The event object and arguments of these events use the ECF layer model (DTOs).
Last updated: Oct 12, 2015