Class RelatedProductListProvider
- Namespace
- Dynamicweb.Ecommerce.Extensibility.Provider
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a base class that needs to be implemented to renders custom product lists, either related to the current product, list, group or search ect.
public abstract class RelatedProductListProvider
- Inheritance
-
RelatedProductListProvider
- Inherited Members
Methods
GetCollection(RelatedProductListProviderEventArgs)
This method is called for each RelatedProductListProvider and the loop is handled in the frontend renderer.
public abstract ProductCollection GetCollection(RelatedProductListProviderEventArgs eventArgs)
Parameters
eventArgsRelatedProductListProviderEventArgsThe RelatedProductListProviderEventArgs instance containing the event data. Current product, Products in the list, The actual group, Collection of groups
Returns
- ProductCollection
A collection of products