Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

[Skip CI] fix storefront helper methods page

Damian Legawiec1ae7419d454f
diff --git a/docs/developer/storefront/helper-methods.mdx b/docs/developer/storefront/helper-methods.mdx
index b133ea1254..bcec1d6c93 100644
--- a/docs/developer/storefront/helper-methods.mdx
+++ b/docs/developer/storefront/helper-methods.mdx
@@ -12,6 +12,8 @@ The list is incomplete. We're working on it!
## `current_currency`
Returns the currently selected currency. By default in the Storefront this will be `store.default_currency`. This can be changed in the `Settings -> Store Defaults` page.
+
+```erb
<%= current_currency %>
```
@@ -65,4 +67,4 @@ If you want to check if the user is signed in, you can use the following:
```erb
<%= try_spree_current_user.present? %>
-```
\ No newline at end of file
+```