Skip to main content
These filters allow you to customize how currency amounts are formatted and displayed throughout SureCart.

surecart/currency/format

Filter the formatted currency string. This is the final output that users see.
Filter Parameters

surecart/currency/locale

Filter the locale used for currency formatting. This affects number formatting, currency symbol placement, and decimal separators.

surecart/currency/max_cents

Filter the maximum number of decimal places shown. By default we do not show for whole amounts ().00 cents), but you could modify so it always shows 2 cents.
Filter Parameters

surecart/currency/filter_url

To be able to run multi-currency while still maintaining full-page caching, we use a URL parameter to keep track of the user’s chosen currency. To disable URL-based currency switching, you can use this filter.

surecart/display_amount/free

Filter the text displayed for $0 prices.

surecart/currency_switcher/label

Filter the currency switcher label text.

Requests

Modify API requests and responses.

Products

Customize product display and pricing.