getPriceString()
Kirby page method
Returns a string with all prices.
All prices are separated with separator set in config. Can be used to store prices for a javascript method. Default looks lite "30|90|270"
Parameters
| Name | Type | Description |
|---|---|---|
$currency |
bool |
β true adds currency, like β¬30 |
- Returns:
string
Usage
This method is available on all $page objects:
$page->getPriceString($currency);
Source: /methods/pages/getPriceString.php