![]() | EcommerceCartBeforeCustomFieldValueIsSetArgs Class |
Namespace: Dynamicweb.Ecommerce.Notifications
The EcommerceCartBeforeCustomFieldValueIsSetArgs type exposes the following members.
Name | Description | |
---|---|---|
![]() | EcommerceCartBeforeCustomFieldValueIsSetArgs | Initializes a new instance of the EcommerceCartBeforeCustomFieldValueIsSetArgs class |
Name | Description | |
---|---|---|
![]() | CustomFieldName |
Gets or sets the Custom Field name.
|
![]() | Order |
Gets or sets the order/cart.
|
![]() | Value |
Gets or sets the value of the Custom Field.
|
using Dynamicweb; namespace Dynamicweb.Ecommerce.Examples.Notifications { [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeCustomFieldValueIsSet)] public class EcomCartBeforeCustomFieldValueIsSetObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber { public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args) { Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeCustomFieldValueIsSetArgs beforeCustomFieldValueIsSetArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeCustomFieldValueIsSetArgs; //Add code here } } }