Help your script find money formats

To help the multiple currencies script in your theme convert all money amounts to another currency, you must tell it where to find money on your web page. To tell the multiple currencies script where the money is, you need to edit your shop's money formats.

To get started:

  1. From your Shopify admin, click Settings (or press G S):

    Settings

  2. Find the Standards and formats section.

  3. Click Change formatting.

Now it's time to "wrap" your “html with currency format” in a span element with a class name set to money.

Here's what you want to do if your shop currency is United States Dollars (USD):


<span class=money>${{amount}} USD</span>

Do the same with the “html without currency format” and add the currency descriptor. If your shop uses United States Dollars (USD), that will give you:


<span class=money>${{amount}}</span>

Multiple currencies 1

Caution

Do not use quotation marks around the word money. Leaving out the quotation marks is still valid HTML, and it will save you some troubleshooting down the road if your theme uses options.

Note

Use the exact same format for 'HTML without currency' as you do for 'HTML with currency'. In other words, add the currency descriptor to both formats. This will help differentiate between CAD and USD money amounts, which both use the dollar sign ($).

Want to discuss this page?

Visit the Shopify Community

Ready to start selling online with Shopify?

Try it free