EventManager for Products

I want to subscribe to the event VariantToWebSiteLinkAdded so I can do some stuff when that happens. How is this possible?

For pages we do something like:
ModuleCMS.Instance.EventManager.PagePublished += EventManagerOnPageEvent;

Is it possible for products too?

Litium version: 6.3.7

For products you have all the events that exists in the Litium.Products.Events namespace, you find example on https://docs.litium.com/documentation/previous-versions/litium-6/architecture/events-handling how you subscribe to the events.

1 Like

Thanks! Didnt find it before.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.