@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Interface CartSetGroup<T>

    An option group inside a set: its goods lines and the charge lines its choices added.

    interface CartSetGroup<T extends SetLineLike = SetLineLike> {
        charges: T[];
        goods: T[];
        items: { line: T; selections: OptionSelectionSnapshot[] }[];
        optionGroupId: string;
    }

    Type Parameters

    Index
    charges: T[]
    goods: T[]
    items: { line: T; selections: OptionSelectionSnapshot[] }[]

    Each goods line with its OWN choices (appliedSelections ?? selections, "Gäller för"): the footstool's entry has the fabric, not the armrests. Same order as goods.

    optionGroupId: string