Table of Contents

Class ProductGroupCount

Namespace
Dynamicweb.Ecommerce.Statistics
Assembly
Dynamicweb.Ecommerce.dll
Represents the product group statistics.
[AddInName("Product group count")]
[AddInDescription("Shows the product count of productgroups")]
[AddInGroup("Products")]
[AddInImage("tree/btn_groups.png")]
public class ProductGroupCount : StatisticsProvider, IDropDownOptions
Inheritance
ProductGroupCount
Implements
Inherited Members

Properties

ColorColumn

Gets the color column name.
public override string ColorColumn { get; }

Property Value

string

Data

Gets the data table.
public override DataTable Data { get; }

Property Value

DataTable

DefaultGraph

Gets the default graph type.
public override GraphType DefaultGraph { get; }

Property Value

GraphType

GroupCount

Gets or sets the group count.
public int GroupCount { get; set; }

Property Value

int

Info

Gets current order profit statistics information.
public override Hashtable Info { get; }

Property Value

Hashtable

Language

Gets or sets the language value for statistic filter.
[AddInParameter("Language")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "none=false")]
public string Language { get; set; }

Property Value

string

ParentGroup

Gets or sets the parent group.
[AddInParameter("Parent group")]
[AddInParameterEditor(typeof(ProductGroupParameterEditor), "appendname=GetGroupIDHideNoSub")]
public string ParentGroup { get; set; }

Property Value

string

Prefix

Gets the prefix.
public override string Prefix { get; }

Property Value

string

ProductCount

Gets or sets the product count.
public int ProductCount { get; set; }

Property Value

int

Shop

Gets or sets shop value for statistics filter.
[AddInParameter("Shop")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "nonetext=Alle")]
public string Shop { get; set; }

Property Value

string

SubGroups

Gets or sets the sub groups.
[AddInParameter("Sub groups")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool SubGroups { get; set; }

Property Value

bool

XAxisColumn

Gets the X-axis column name.
public override string XAxisColumn { get; }

Property Value

string

YAxisColumn

Gets the Y-axis column name.
public override string YAxisColumn { get; }

Property Value

string

Methods

GetOptions(string)

Implements IDropDownOptions.GetOptions method, and used for DropDownLists control.
public Hashtable GetOptions(string name)

Parameters

name string

Returns

Hashtable
Hashtable with specified control options.

GetSubGroups(Group, Shop, string, int)

Gets the subgroups.
public string GetSubGroups(Group group, Shop shop, string groupIds, int counter)

Parameters

group Group
The group.
shop Shop
The shop.
groupIds string
Subgroup ids.
counter int
The counter.

Returns

string
Subgroup ids.
To top