Skip to content

Commit

Permalink
Add a tooltip for default currency in store settings
Browse files Browse the repository at this point in the history
This is just a little help for people that try to switch currency.
A proper page on the guide would be a good next step.
  • Loading branch information
kennyadsl committed Apr 12, 2023
1 parent 482a56a commit 29a520a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions backend/app/views/spree/admin/stores/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@

<%= f.field_container :default_currency do %>
<%= f.label :default_currency %>
<%= f.field_hint :default_currency %>
<%= f.select :default_currency,
Spree::Config.available_currencies.map(&:iso_code),
{ include_blank: true },
Expand Down
1 change: 1 addition & 0 deletions core/config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1644,6 +1644,7 @@ en:
available_locales: This determines which locales are available for your customers to choose from in the storefront.
cart_tax_country_iso: 'This determines which country is used for taxes on carts (orders which don''t yet have an address).<br> Default: None.'
code: An identifier for your store. Developers may need this value if you operate multiple storefronts.
default_currency: This determines which currency will be used for the storefront's product prices. Please, be aware that changing this configuration, only products that have prices in the selected currency will be listed on your storefront. <br><br>This setting won't change the default currency used when you create a product. For that, only the global `Spree::Config.currency` is taken into account.
spree/tax_category:
is_default: When checked, this tax category will be selected by default when creating new products or variants.
spree/tax_rate:
Expand Down

0 comments on commit 29a520a

Please sign in to comment.