Skip to content

Commit

Permalink
Merge pull request #5009 from nebulab/kennyadsl/tooltips-changing-cur…
Browse files Browse the repository at this point in the history
…rency

Add a tooltip for default currency in store settings
  • Loading branch information
kennyadsl authored Apr 14, 2023
2 parents 554d335 + 29a520a commit 523796e
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 523796e

Please sign in to comment.