Class Ecommerce.CustomerCenter
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
public sealed class Ecommerce.CustomerCenter
- Inheritance
-
Ecommerce.CustomerCenter
- Inherited Members
Fields
AfterProductClearCache
Event occurs before product rendering.
public const string AfterProductClearCache = "DWN_ECOM_CUSTOMERCENTER_AFTER_PRODUCTCLEARCACHE"
Field Value
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
}
}