priceFormatter
Type: function(price)
Default implementation: return the raw price, as provided by the pricing configuration parameter (i.e. a number or a string).
A function that formats a price when its shown to an end user. This is notably used in the popover you see when you hover over a seat.
This function is executed in the context of your page, meaning you can use a library like accounting.js in your implementation.
The result of this function will be escaped. This means you can't use html entities or codes (respectively $
and $
for $).
This might not work if you're not encoding your page as UTF-8. In that case, you should be able to use the unicode value (e.g. \u0024
for $)
Since February 20, 2025, the Saudi riyal (SAR) has a new currency symbol (). That symbol is not yet available as a unicode character, so instead, you can use
[SAR]
, which seats.io will replace by .