IEcommerceOrderStatusChangedEvent

This event occurs every time an order changes its status. For example, you can use it to export information about the order outside of the Ecommerce module or to update the customer statistic and customer money.

The argument is of type Telerik.Sitefinity.Modules.Ecommerce.Events. IEcommerceOrderStatusChangedEvent. It has the following specific members:

  • OrderId
    Represents the ID of the order that has been updated. You can use the ID to get an instance of the order.
  • OldOrderStatus
    Represents the old status of the order.
  • NewOrderStatus
    Represents the new status of the order.

Here is a code example of hooking up to this event:

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?