ProductGroup
Hierarchical product category and related settings.
Last updated
Usage
ParentId and ChildNodes describe the category tree. A group may have an image, discount, and shipping group alias.
Key properties
| Property | Meaning |
|---|---|
| ProductGroupId / ParentId | Group ID and parent group. |
| ChildNodes / AncestorPath | Hierarchy used for navigation and filtering. |
| DiscountPercentage / DiscountPriceDateStart / DiscountPriceDateEnd | Group discount and its validity period. |
| ShippingGroupAlias | Reference to a shipping group. |
Public properties
Property names and C# types follow this package version. Some fields are populated only when a service or repository prepares the model.
| Property | C# type |
|---|---|
| ProductGroupId | int |
| ParentId | int |
| Sortorder | int |
| Name | string? |
| ImageId | int |
| DiscountPercentage | int |
| DiscountPriceDateStart | DateTime? |
| DiscountPriceDateEnd | DateTime? |
| DiscountPercentageOverrules | bool |
| AncestorPath | string? |
| ShippingGroupAlias | string? |
| GoogleProductCategory | string? |
| LevelInStructure | int |
| ChildNodes | List<ProductGroup> |
| NodePath | string[]? |
Source: OptimusCommercev2.Core/Models/ProductGroup.cs · Optimus Commerce.Extension 17.94.0