![]() | EcommerceCartBeforeRemovingNonExistingProductsArgs Class |
Namespace: Dynamicweb.Ecommerce.Notifications
The EcommerceCartBeforeRemovingNonExistingProductsArgs type exposes the following members.
Name | Description | |
---|---|---|
![]() | EcommerceCartBeforeRemovingNonExistingProductsArgs | Initializes a new instance of the EcommerceCartBeforeRemovingNonExistingProductsArgs class |
Name | Description | |
---|---|---|
![]() | Order |
Gets or sets the order/cart.
|
![]() | OrderLinesToRemove |
Gets or sets a list of OrderLines that will be removed from the order.
|
using Dynamicweb; namespace Dynamicweb.Ecommerce.Examples.Notifications { [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeRemovingNonExistingProducts)] public class EcomCartBeforeRemovingNonExistingProductsObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber { public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args) { Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeRemovingNonExistingProductsArgs beforeRemovingNonExistingProductsArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeRemovingNonExistingProductsArgs; //Add code here } } }