Home > @shopware-pwa/helpers > getProductRegularPrice
# getProductRegularPrice() 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.
Warning: This API is now obsolete.
consider using getCalculatedListingPrice or getProductCalculatedPrice instead
Get the price for 1 unit of a product
Signature:
export declare function getProductRegularPrice(product: Product): number | undefined;
# Parameters
Parameter | Type | Description |
---|---|---|
product | Product |
Returns:
number | undefined
(number|undefined)