![]() | EcommerceProductListBeforeRenderArgs Class |
Namespace: Dynamicweb.Ecommerce.Notifications
The EcommerceProductListBeforeRenderArgs type exposes the following members.
Name | Description | |
---|---|---|
![]() | EcommerceProductListBeforeRenderArgs(ProductCollection) |
Initializes a new instance of the EcommerceProductListBeforeRenderArgs class.
|
![]() | EcommerceProductListBeforeRenderArgs(ProductCollection, ProductCollection) |
Initializes a new instance of the EcommerceProductListBeforeRenderArgs class.
|
Name | Description | |
---|---|---|
![]() | PageProducts |
Gets the page products.
|
![]() | Products |
Gets the products.
|
using Dynamicweb; namespace Dynamicweb.Ecommerce.Examples.Notifications { [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.ProductList.BeforeRender)] public class EcomProductListBeforeRenderObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber { public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args) { Dynamicweb.Ecommerce.Notifications.Ecommerce.ProductList.BeforeRenderArgs beforeRenderArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.ProductList.BeforeRenderArgs; //Add code here } } }