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

    Interface WixItemDiscount

    Details of an automatic item-level discount rule applied to a product.

    interface WixItemDiscount {
        discountRuleId: string;
        discountRuleName: string;
        priceAfterDiscount: number;
        priceAfterDiscountAmount: number;
        discountAmount: string;
        discountAmountValue: number;
        automaticDiscountPricePerUnit: number;
        formattedAutomaticDiscountPricePerUnit: string;
        automaticDiscountRuleNames: string[];
    }
    Index

    Properties

    discountRuleId: string

    Identifier of the discount rule

    discountRuleName: string

    Name of the discount rule

    priceAfterDiscount: number

    Price after the discount is applied

    priceAfterDiscountAmount: number

    Numeric amount of the price after discount

    discountAmount: string

    Formatted discount amount

    discountAmountValue: number

    Numeric discount amount

    automaticDiscountPricePerUnit: number

    Automatic discount price per unit

    formattedAutomaticDiscountPricePerUnit: string

    Formatted automatic discount price per unit

    automaticDiscountRuleNames: string[]

    Names of the automatic discount rules applied