Class Ecommerce.DynamicRelationGroups
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
Provides notification names for DynamicRelationGroup.
public static class Ecommerce.DynamicRelationGroups
- Inheritance
-
Ecommerce.DynamicRelationGroups
- Inherited Members
Examples
using Dynamicweb.Extensibility.Notifications;
using static Dynamicweb.Ecommerce.Notifications.Ecommerce.Product;
namespace Dynamicweb.Ecommerce.Examples.Notifications;
[Subscribe(BeforeRender)]
public class EcomProductBeforeRenderObserver : NotificationSubscriber
{
public override void OnNotify(string notification, NotificationArgs args)
{
if (args is not BeforeRenderArgs item)
return;
// Add code here
}
}
Fields
AfterDelete
public const string AfterDelete = "DWN_ECOM_DYNAMIC_RELATION_GROUP_AFTER_DELETE"
Field Value
BeforeDelete
public const string BeforeDelete = "DWN_ECOM_DYNAMIC_RELATION_GROUP_BEFORE_DELETE"