The currency object

The currency object has the following attributes:

currency.name

Returns the name of the currency (for example United States dollars or Euro).

currency.iso_code

Returns the ISO code of the currency (for example USD or EUR).

currency.symbol

Returns the currency's symbol (for example, $ or `€).

Example

You can use the following snippet to display information about a currency.

Input:

ISO Code: {{ currency.iso_code }}
Name: {{ currency.name }}
Symbol: {{ currency.symbol }}

Output:

ISO Code: USD
Name: United States Dollar
Symbol: $

Learn more

Ready to start selling with Shopify?

Try it free