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

    Interface SuggestionItem

    One typeahead suggestion — a category, product or search-term entry

    interface SuggestionItem {
        id?: string;
        image?: string | null;
        label: string;
        price?: number | null;
        slug?: string | null;
        suggest?: string;
        type: string;
        value?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index
    id?: string
    image?: string | null
    label: string
    price?: number | null

    null when prices are hidden — see StorefrontProduct.sellingPrice.

    slug?: string | null
    suggest?: string

    Label with the matched prefix wrapped in … (render as HTML)

    type: string
    value?: string

    Navigation value — category slug/id or product handle