Class Ecommerce.ProductList.BeforeRenderArgs
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
Provides information about products before their rendering on the front end.
- Inheritance
-
Ecommerce.
Product List. Before Render Args
- Inherited Members
Examples
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
}
}
}
Remarks
The passed NotificationArgs is Ecommerce.
Constructors
BeforeRenderArgs(ProductCollection)
Initializes a new instance of the Ecommerce.
Parameters
products
ProductCollection The products.
BeforeRenderArgs(ProductCollection, ProductCollection)
Initializes a new instance of the Ecommerce.
Parameters
products
ProductCollection The products.
pageProducts
ProductCollection The page products.
Properties
PageProducts
Gets the page products.
Property Value
- Product
Collection The page products.
Products
Gets the products.
Property Value
- Product
Collection The products.