public int GetSortPriority( BasketItem item, bool treatChildAsParent )
Parameters
- item
- The item to get sort priority for.
- treatChildAsParent
- If true, child items are treated as products. If false, the sort priority is based on the type of the child item.
Return Value
An integer indicating the sort priority, lower values should appear before higher values.