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

    Function optionDelta

    • What an option adds to the price compared with no choice at the position ("+ 495 kr" in a list), with the current fabric group. Null when one of its charges has no price.

      Parameters

      • option: OptionProfileOption | null | undefined
      • groupCode: string | null
      • qty: number = 1
      • exVat: boolean = false

      Returns number | null