ChemPal Documentation - v1.6.0
    Preparing search index...

    Interface WixCostAndProfitData

    Owner-only cost and profit figures for a product.

    interface WixCostAndProfitData {
        itemCost: number;
        formattedItemCost: string;
        profit: number;
        formattedProfit: string;
        profitMargin: number;
    }
    Index

    Properties

    itemCost: number

    Raw item cost

    formattedItemCost: string

    Formatted item cost

    profit: number

    Raw profit amount

    formattedProfit: string

    Formatted profit amount

    profitMargin: number

    Profit margin as a fraction