Class Ecommerce
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
Provides information about Ecommerce module notifications. Find the various notifications in the list:
public sealed class Ecommerce
- Inheritance
-
Ecommerce
- Inherited Members
Examples
using Dynamicweb.Extensibility.Notifications;
using static Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart;
namespace Dynamicweb.Ecommerce.Examples.Notifications;
/// <summary>
/// Subscribing on Cart.Loaded event
/// </summary>
[Subscribe(Loaded)]
public class EcomCartLoadedObserver : NotificationSubscriber
{
public override void OnNotify(string notification, NotificationArgs args)
{
if (args is not LoadedArgs myArgs)
return;
}
}