Adjust currency symbol

Adjust currency symbol

FM_VLV1
Visitor
2 0 0

Hi,

does anyone have an idea on how to adjust the currency symbol manually. 

 

I.e. instead of "CHF" for Swiss Francs, I'd like to use "SFr.". Is this adjustment even possible?

 

Thanks in advance!

Replies 4 (4)

Alex485483
New Member
7 0 0

Hi  I think I can help with that.  If you're still having issues, feel free to share more details.

D096E56C-D762-4FC9-AE82-FD70DF4E750A.jpeg

Guleria
Shopify Partner
4185 812 1168

Hello @FM_VLV1 ,

 

Yes possible using JS.

Please share the store URL so I can check.

 

Regards
Guleria

- Custom themes, UI/UX design, ongoing maintenance & support.
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder

TheUntechnickle
Shopify Partner
539 65 158

Hey @FM_VLV1,

Unfortunately, you can't control the price formatting for other currencies through Shopify's standard settings. This can be done manually via editing the theme code. However, there are a couple of approaches you can take.

 

Option 1: Currency Formatting Settings (Limited) For your store's default currency, you can customize the formatting:

 

  1. Go to Settings > General in your Shopify admin
  2. In the Store defaults section, click Change currency formatting
  3. In each of the fields, replace {{amount}} with the currency format that you want to use from the options table.

 

You can use custom text before or after the {{amount}} variable, so theoretically you could set it to display as "SFr.{{amount}}" instead of the default CHF formatting.

 

Option 2: Theme Code Modification (More Complex) This can be done manually via editing the theme code. You'd need to:

  • Access your theme's code editor (Online Store > Themes > Actions > Edit Code)
  • Locate the liquid files that handle currency display
  • Modify the currency filters to show "SFr." instead of "CHF"

 

Important Context: The use of SFr. for Swiss francs has historical context - it's been used alongside Fr. (German) and fr. (French/Italian) as currency signs, while CHF is the internationally official abbreviation according to ISO 4217 standards.

 

My Recommendation: If you're comfortable with basic code editing, I'd suggest trying Option 1 first for your store's default currency. If you need this change across multiple currencies or markets, you might want have to play with the theme code then.

 

Also, I'm happy to help you implement whichever solution works best for your store!

 

Best regards,

Shubham | Untechnickle

P.S. - Just make sure to backup your theme before making any code changes, just in case!

Helping for free: hello@untechnickle.com


Don't forget to say thanks, it'll make my day - just send me an email! 


Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App

FM_VLV1
Visitor
2 0 0

Hi Shubham, 

thanks for your reply. Option 2 was the one wanted to go for. The problem is that I couldn't yet find the liquid file that handles the currency display. Any ideas? I use the Dwell Theme.