Skip to content

Instantly share code, notes, and snippets.

@carolineschnapp
Last active January 19, 2023 13:01
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save carolineschnapp/773590 to your computer and use it in GitHub Desktop.
Save carolineschnapp/773590 to your computer and use it in GitHub Desktop.
Additional settings for multiple currencies support
<fieldset>
<legend>Money options</legend>
<table>
<tr>
<td><label for="show_multiple_currencies">Show currency selector?</label></td>
<td><input type="checkbox" id="show_multiple_currencies" name="show_multiple_currencies" checked="checked" /></td>
</tr>
<tr>
<td colspan="2"><small>Although you will be able to display prices on your store front in different currencies, Shopify will still process orders in your shop's currency.</small></td>
</tr>
<tr>
<td><label for="currency_format">Money format</label></td>
<td>
<select name="currency_format" id="currency_format">
<option value="money_format">
Without Currency, ex: $10.00
</option>
<option value="money_with_currency_format" selected="selected">
With Currency, ex: $10 CAD
</option>
</select>
</td>
</tr>
<tr>
<td><label for="supported_currencies">Currencies you wish to support</label></td>
<td><input type="text" class="text long" name="supported_currencies" id="supported_currencies" value="CAD USD" /></td>
</tr>
<tr>
<td><label for="default_currency">Default currency</label></td>
<td><input type="text" class="text" name="default_currency" id="default_currency" value="CAD" /></td>
</tr>
<tr>
<td colspan="2"><small>Separate your currency codes with a space. Use the ISO 4217 3-letter currency code. Click <a target="_blank" href="http://www.xe.com/iso4217.php">here</a> for a complete list of currency codes. Example: <i>CAD USD</i>.</small></td>
</tr>
<tr>
<td colspan="2"><small>For this functionality to work in your shop, you are required to edit your money formats as per <a href="http://wiki.shopify.com/Do_Tell_Where_The_Money_Is" target="_blank">these instructions</a> ("Do tell where the money is").</small></td>
</tr>
</table>
</fieldset>
@coryetzkorn
Copy link

Converted to the new settings_schema.json format:
https://gist.github.com/coryetzkorn/3549b3840ec16f507d6c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment