Table of Contents

Class Frontend

Namespace
Dynamicweb.Ecommerce.Frontend
Assembly
Dynamicweb.Ecommerce.dll
Represents the frontend functions.
[AddInName("ecom_catalog")]
public class Frontend : ContentModule, IModule
Inheritance
Frontend
Implements
Inherited Members

Properties

ParagraphSettings

Gets the module paragraph settings.
public ProductCatalogSettings ParagraphSettings { get; }

Property Value

ProductCatalogSettings

Methods

DeleteGroupDisplayCache()

Deletes group display cache.
public static void DeleteGroupDisplayCache()

DoTheSearch(string)

Searches the products.
public ProductCollection DoTheSearch(string searchQuery)

Parameters

searchQuery string
The search auery.

Returns

ProductCollection
The found products.

DoTheSearch(string, ref Hashtable)

Searches the products.
public ProductCollection DoTheSearch(string searchQuery, ref Hashtable searchCustomFields)

Parameters

searchQuery string
The search auery.
searchCustomFields Hashtable
The found custom fields.

Returns

ProductCollection
The found products.

DoTheSearch(string, ref Hashtable, ref Hashtable)

Searches the products.
public ProductCollection DoTheSearch(string searchQuery, ref Hashtable searchCustomFields, ref Hashtable criteriaList)

Parameters

searchQuery string
The search auery.
searchCustomFields Hashtable
The found custom fields.
criteriaList Hashtable
The search criteria.

Returns

ProductCollection
The found products.

DoTheSearch(string, ref Hashtable, ref Hashtable, ref Hashtable)

Searches the products.
public ProductCollection DoTheSearch(string searchQuery, ref Hashtable searchCustomFields, ref Hashtable criteriaList, ref Hashtable searchGroupFields)

Parameters

searchQuery string
The search auery.
searchCustomFields Hashtable
The found custom fields.
criteriaList Hashtable
The search criteria.
searchGroupFields Hashtable
The searched group fields.

Returns

ProductCollection
The found products.

EcomRender()

Renders the catalog.
public string EcomRender()

Returns

string
The content.

GetContent()

Gets the content.
public override string GetContent()

Returns

string
The content.

InitializeModule(Paragraph, PageView)

Initializes the instance.
public override void InitializeModule(Paragraph renderingParagraph, PageView pageviewContext)

Parameters

renderingParagraph Paragraph
The paragraph creating the instance of this module
pageviewContext PageView
An instance of the current pageview being showed

Remarks

Used internally. Dynamicweb handles the initialization and this method should normally not be called

List(string)

Renders the groups.
public string List(string groups)

Parameters

groups string
The groups.

Returns

string
The HTML.

ListProducts(ProductCollection)

Renders the products.
public string ListProducts(ProductCollection products)

Parameters

products ProductCollection
The products.

Returns

string
The HTML.

ListProducts(ProductCollection, string)

Renders the products.
public string ListProducts(ProductCollection products, string groupsIdent)

Parameters

products ProductCollection
The products.
groupsIdent string
The groups ident.

Returns

string
The HTML.

RenderGroup(string)

Renders the group.
public string RenderGroup(string groupId)

Parameters

groupId string
The group id.

Returns

string
The HTML.

RenderProduct(Product)

Renders the product.
public string RenderProduct(Product product)

Parameters

product Product
The product.

Returns

string
The HTML.

RenderProduct(Product, string)

Renders the product.
public string RenderProduct(Product product, string unitId)

Parameters

product Product
The product.
unitId string

Returns

string
The HTML.
To top