ChemPare Documentation - v0.0.0
    Preparing search index...

    Interface ProductObject

    Represents a product object in the Wix platform format. Used for compatibility with Wix e-commerce platform.

    const product: ProductObject = {
    discountedPrice: "17.99",
    price: "19.99",
    title: "Sodium Chloride ACS Grade",
    url: "/products/sodium-chloride",
    textOptionsFacets: [
    { name: "grade", value: "ACS" }
    ]
    };
    interface ProductObject {
        discountedPrice?: string;
        price: string;
        title: string;
        url: string;
        textOptionsFacets?: TextOptionFacet[];
        id: string;
        options: ProductOption[];
        productItems: ProductItem[];
        productType: string;
        sku: string;
        isInStock: boolean;
        urlPart: string;
        formattedPrice: string;
        name: string;
        description: string;
        brand: null | string;
        variants?: ProductObject[];
    }
    Index

    Properties

    discountedPrice?: string

    Price after applying any discounts

    price: string

    Regular price of the product

    title: string

    Display title of the product

    url: string

    URL to the product's detail page

    textOptionsFacets?: TextOptionFacet[]

    Available text-based filtering options

    id: string

    Unique identifier for the product

    options: ProductOption[]

    Array of available customization options for the product

    productItems: ProductItem[]

    Array of specific product variations with their unique combinations

    productType: string

    Classification or category of the product

    sku: string

    Stock keeping unit identifier

    isInStock: boolean

    Indicates whether the product is currently available for purchase

    urlPart: string

    URL-friendly identifier used in product page links

    formattedPrice: string

    Human-readable formatted price string (e.g. "$19.99")

    name: string

    Display name of the product

    description: string

    Detailed product description

    brand: null | string

    Manufacturer or brand name of the product

    variants?: ProductObject[]

    Array of variant products