Class EcomCartCreatedObserver
- Namespace
- Dynamicweb.Ecommerce.Examples.Notifications
- Assembly
- Dynamicweb.Ecommerce.Examples.dll
Subscribing on Cart.Created event
[Subscribe("DWN_ECOM_CART_CREATED")]
public class EcomCartCreatedObserver : NotificationSubscriber, IComparable<NotificationSubscriber>
- Inheritance
-
EcomCartCreatedObserver
- Implements
- Inherited Members
Methods
OnNotify(string, NotificationArgs)
This notification is thrown every time a cart is created. The notification appears when user adds first product to the cart.
public override void OnNotify(string notification, NotificationArgs args)
Parameters
notification
stringargs
NotificationArgs