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
groupGroup
Returns
GetGroupKey(Group)
Gets the group key with the groupid and languageid.
public static GroupKey GetGroupKey(this Group group)
Parameters
groupGroupThe group.
Returns
GetOrderLineFields(Group)
Gets the order line fields collection.
public static OrderLineFieldCollection GetOrderLineFields(this Group group)
Parameters
groupGroup
Returns
GetParentGroups(Group)
Get list of parent groups.
public static GroupCollection GetParentGroups(this Group group)
Parameters
groupGroup
Returns
GetParentGroupsDefaultLanguage(Group)
Gets the list of parent groups in current or default language.
public static GroupCollection GetParentGroupsDefaultLanguage(this Group group)
Parameters
groupGroup
Returns
GetPrimaryParentGroupId(Group)
Get the ID of primary parent group.
public static string? GetPrimaryParentGroupId(this Group group)
Parameters
groupGroup
Returns
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
groupGroup
Returns
GetShops(Group)
Gets the shops for current group.
public static IEnumerable<Shop> GetShops(this Group group)
Parameters
groupGroup
Returns
IsTopGroup(Group)
Determines is current group a top group - resides at top level of groups tree.
public static bool IsTopGroup(this Group group)
Parameters
groupGroup