@makerinc/react-sdk
    Preparing search index...

    Interface Variant

    Product variant with pricing, inventory, and options Server type: Store.Product.Variant.t

    interface Variant {
        barcode?: string | null;
        brand?: string | null;
        compareAtPrice?: string | null;
        customLabels: (string | null)[];
        description?: string | null;
        id: string;
        imageId?: string | null;
        inventory: Inventory;
        link?: string | null;
        mediaIndex?: number | null;
        mediaIndexesSourcedFromVariant?: number[] | null;
        metadata: Record<string, Metadata>;
        mpn?: string | null;
        name?: string | null;
        option1?: string | null;
        option2?: string | null;
        option3?: string | null;
        price?: string | null;
        promoText?: string | null;
        sku?: string | null;
    }
    Index

    Properties

    barcode?: string | null
    brand?: string | null
    compareAtPrice?: string | null
    customLabels: (string | null)[]
    description?: string | null

    Raw HTML description - MUST use renderDescription() utility to render properly

    Product.description for full documentation

    id: string
    imageId?: string | null
    inventory: Inventory
    link?: string | null
    mediaIndex?: number | null

    Index into product.media array for this variant's primary display media. Use product.media[mediaIndex ?? 0] to get the media item.

    mediaIndexesSourcedFromVariant?: number[] | null

    Indexes of media items that originated from this variant

    metadata: Record<string, Metadata>
    mpn?: string | null
    name?: string | null
    option1?: string | null
    option2?: string | null
    option3?: string | null
    price?: string | null
    promoText?: string | null
    sku?: string | null