Table of Contents

Class GroupExtensions

Namespace
Dynamicweb.Ecommerce.Products
Assembly
Dynamicweb.Ecommerce.dll
public static class GroupExtensions
Inheritance
GroupExtensions
Inherited Members

Methods

GetCategory(Group)

Gets or sets the default category for this group and all language versions.

public static Category GetCategory(this Group group)

Parameters

group Group

Returns

Category

GetGroupKey(Group)

Gets the group key with the groupid and languageid.

public static GroupKey GetGroupKey(this Group group)

Parameters

group Group

The group.

Returns

GroupKey

GetOrderLineFields(Group)

Gets the order line fields collection.

public static OrderLineFieldCollection GetOrderLineFields(this Group group)

Parameters

group Group

Returns

OrderLineFieldCollection

GetParentGroups(Group)

Get list of parent groups.

public static GroupCollection GetParentGroups(this Group group)

Parameters

group Group

Returns

GroupCollection

GetParentGroupsDefaultLanguage(Group)

Gets the list of parent groups in current or default language.

public static GroupCollection GetParentGroupsDefaultLanguage(this Group group)

Parameters

group Group

Returns

GroupCollection

GetPrimaryParentGroupId(Group)

Get the ID of primary parent group.

public static string GetPrimaryParentGroupId(this Group group)

Parameters

group Group

Returns

string

GetRelatedGroups(Group)

Gets the list of related groups. Related groups are used as default list of related groups for child products.

public static GroupCollection GetRelatedGroups(this Group group)

Parameters

group Group

Returns

GroupCollection

GetShops(Group)

Gets the shops for current group.

public static IEnumerable<Shop> GetShops(this Group group)

Parameters

group Group

Returns

IEnumerable<Shop>

IsTopGroup(Group)

Determines is current group a top group - resides at top level of groups tree.

public static bool IsTopGroup(this Group group)

Parameters

group Group

Returns

bool
To top