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

    Interface Product

    Core product type with variants, images, and metadata Server type: Store.Product.t

    interface Product {
        alternativeMarkets: Record<string, unknown>;
        bestSellerRank?: number | null;
        categoryId?: string | null;
        createdAt?: number | null;
        currency?: string | null;
        deletedAt?: number | null;
        description?: string | null;
        faqs?: FAQ[] | null;
        featuredRank?: number | null;
        id: string;
        images: Image[];
        lastImportedAt?: number | null;
        lastModifiedAt?: number | null;
        link?: string | null;
        market?: string | null;
        media: Media[];
        metadata: Record<string, Metadata>;
        name?: string | null;
        options: Option[];
        productType?: string | null;
        promoText?: string | null;
        reviewSummary?: ProductReviewSummary | null;
        tags: string[];
        taxonomy?: string | null;
        v: number;
        variants: Variant[];
    }
    Index

    Properties

    alternativeMarkets: Record<string, unknown>
    bestSellerRank?: number | null
    categoryId?: string | null
    createdAt?: number | null
    currency?: string | null
    deletedAt?: number | null
    description?: string | null

    Raw HTML description with escape sequences and template variables

    IMPORTANT: Must be rendered using the renderDescription() utility function This field contains:

    • HTML markup that needs dangerouslySetInnerHTML
    • Literal backslash sequences (\r, \n, \t) that need conversion to actual escape sequences
    • Template variables (${product.id}, ${variant.id}) that need substitution
    • Whitespace that needs pre-wrap CSS
    import { renderDescription } from '@makerinc/react-sdk';

    {product.description && renderDescription({
    text: product.description,
    product,
    })}
    faqs?: FAQ[] | null
    featuredRank?: number | null
    id: string
    images: Image[]
    lastImportedAt?: number | null
    lastModifiedAt?: number | null
    link?: string | null
    market?: string | null
    media: Media[]
    metadata: Record<string, Metadata>
    name?: string | null
    options: Option[]
    productType?: string | null
    promoText?: string | null
    reviewSummary?: ProductReviewSummary | null
    tags: string[]
    taxonomy?: string | null
    v: number
    variants: Variant[]