Class Group
- Namespace
- Dynamicweb.Ecommerce.Products
- Assembly
- Dynamicweb.Ecommerce.dll
Product group class
[Serializable]
[PermissionEntity("ProductGroup")]
public class Group : IDisplayName, IPermissionEntity, IPermissionEntityLookup
- Inheritance
-
Group
- Implements
- Inherited Members
- Extension Methods
Constructors
Group()
Initializes new instance of the class.
Properties
CategoryFieldValues
Property Value
CategoryId
Gets or sets the default category id
Property Value
CompletenessOnAllCategoryFields
Gets or sets value indicating whether to include all category fields to completeness calculation.
Property Value
CompletionLanguages
Gets Language collection used for calculating the shop product completeness value.
Property Value
- IEnumerable<Language>
Return Language collection
CompletionRules
Gets rules collection used for calculating the group product completeness value.
Property Value
- IEnumerable<Completion
Rule > Return CompletionRule collection
Remarks
To assign rules to a group use AssignRulesToGroup(Group, IEnumerable<CompletionRule>, IEnumerable<string>)
Description
Gets or sets the group description.
Property Value
Icon
Gets or sets the group icon.
Property Value
Id
Gets or sets the group ID.
Property Value
InheritCategoryFieldsFromParent
Gets or sets value indicating whether to inherit product category fields from parent group[s].
Property Value
Remarks
When property is true, the group should inherit Product Category field from parents(in a direct line). If the group both have selected a product category And have the 'Inherit fields from parents', the set of fields which is available in the group, should a be a the combined set of fields from the selected Product Category and all product category fields from the parent. Also the fields from the parents parent, if it is set to inherit field.
InheritOrderLineFields
Determines whether order line fields should be included from parent groups or not.
Property Value
LanguageId
Gets or sets the language ID.
Property Value
LargeImage
Gets or sets the large group image.
Property Value
ManufacturerId
Gets or sets the default value for manufacturer ID property of child products.
Property Value
Meta
Gets or sets meta data.
Property Value
Name
Gets or sets the group name.
Property Value
NavigationClickable
Determines whether the current group is clickable in navigation.
Property Value
NavigationShowInMenu
Determines whether group should be shown in navigation menu or not.
Property Value
NavigationShowInSiteMap
Determines whether group should be shown in site map or not.
Property Value
Number
Gets or sets the group number.
Property Value
ProductGroupFieldValues
Gets or sets the list of custom fields values.
Property Value
ProductRelationRuleField1
Condition field to make it possible to automatically assign products to one or more groups.
Property Value
ProductRelationRuleField2
Condition field to make it possible to automatically assign products to one or more groups.
Property Value
ProductRelationRuleValue1
Condition value to make it possible to automatically assign products to one or more groups.
Property Value
ProductRelationRuleValue2
Condition value to make it possible to automatically assign products to one or more groups.
Property Value
RelatedGroupIds
Gets the string with list of related groups. Related groups are used as default list of related groups for child products.
Property Value
- string
Related group ids, delimited by "#;#"
ShopId
Gets or sets the ID of shop for current group.
Property Value
SmallImage
Gets or sets the small group image.
Property Value
StockGroupId
Gets or sets the default value for stock group ID property of child products.
Property Value
Type
Gets or sets the group type Group
Property Value
WorkflowId
Gets or sets the id of the workflow for products in the product group.
Property Value
- int
The workflow identifier.
Methods
Clone()
Creates in-memory copy of current group.
Returns
- Group
The copy of the group.
GetDisplayName()
Yields a human-readable name for rendering.
Returns
- string
name