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
Methods
DeleteGroupDisplayCache()
Deletes group display cache.
public static void DeleteGroupDisplayCache()
DoTheSearch(string)
Searches the products.
public ProductCollection DoTheSearch(string searchQuery)
Parameters
searchQuerystring- The search auery.
Returns
- ProductCollection
- The found products.
DoTheSearch(string, ref Hashtable)
Searches the products.
public ProductCollection DoTheSearch(string searchQuery, ref Hashtable searchCustomFields)
Parameters
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
searchQuerystring- The search auery.
searchCustomFieldsHashtable- The found custom fields.
criteriaListHashtable- 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
searchQuerystring- The search auery.
searchCustomFieldsHashtable- The found custom fields.
criteriaListHashtable- The search criteria.
searchGroupFieldsHashtable- 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
renderingParagraphParagraph- The paragraph creating the instance of this module
pageviewContextPageView- 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
groupsstring- The groups.
Returns
- string
- The HTML.
ListProducts(ProductCollection)
Renders the products.
public string ListProducts(ProductCollection products)
Parameters
productsProductCollection- The products.
Returns
- string
- The HTML.
ListProducts(ProductCollection, string)
Renders the products.
public string ListProducts(ProductCollection products, string groupsIdent)
Parameters
productsProductCollection- The products.
groupsIdentstring- The groups ident.
Returns
- string
- The HTML.
RenderGroup(string)
Renders the group.
public string RenderGroup(string groupId)
Parameters
groupIdstring- The group id.
Returns
- string
- The HTML.
RenderProduct(Product)
Renders the product.
public string RenderProduct(Product product)
Parameters
productProduct- The product.
Returns
- string
- The HTML.
RenderProduct(Product, string)
Renders the product.
public string RenderProduct(Product product, string unitId)
Parameters
Returns
- string
- The HTML.