Home > @shopware-pwa/helpers > getProductPriceDiscount

# getProductPriceDiscount() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Get value of price discount


export declare function getProductPriceDiscount(product: Product): number | undefined;

# Parameters

Parameter Type Description
product Product


number | undefined