Home > widget-integration > AppService > formatPrice
AppService.formatPrice() method
Formats price with shop-specific settings from TAE config Wrapper around formatCurrency that applies theme settings automatically
Signature:
formatPrice(price: number | string): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
price |
number | string |
The price value in cents to format |
Returns:
string
Formatted price string with currency symbol and shop-specific styling applied