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

    Function attributeFacets

    • The select attributes on a position's options with their values, for filter chips (in first-seen order).

      Parameters

      Returns {
          code: string;
          label: string;
          values: { code: string; count: number; label: string }[];
      }[]