Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
using EPiServer.Commerce.Order;
using EPiServer.Framework;
using EPiServer.Framework.Initialization;
namespace Foundation._EuromonitorExample
public class OrderEventsInit : IInitializableModule
public void Initialize(InitializationEngine context)
var orderEvents = context.Locate.Advanced.GetInstance<IOrderEvents>();
orderEvents.SavedOrder += OrderEvents_SavedOrder;
private void OrderEvents_SavedOrder(object sender, OrderEventArgs e)
var orderGroup = e.OrderGroup;
var orderReference = e.OrderLink;
public void Uninitialize(InitializationEngine context) { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment