Jump to content

How to change a currency format in 7.1 from US$197.00 to $197

Recommended Posts

Squarespace changed the way that prices were formatted on 23 August 2022.

Regarding the currency symbol, you can remove the "US" by setting the site language to English (United States) in Settings > Language and Region > Site Languages.

Regarding the decimal fraction, all the answers posted before 23 August 2022 (including the one mentioned above) will no longer function as intended. This is because of the Squarespace update that I referred to above. For this reason, I don't think you'll find a published solution for removing the trailing zeroes right now. We'll need to write one. 🙂

 

Edited by paul2009

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment
3 hours ago, paul2009 said:

For this reason, I don't think you'll find a published solution for removing the trailing zeroes right now. We'll need to write one. 🙂

My Store Price Change code should be able to handle this without any updates to my software.

@michaela If it doesn't let me know.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment
On 9/12/2022 at 4:23 PM, paul2009 said:

Squarespace changed the way that prices were formatted on 23 August 2022.

Regarding the currency symbol, you can remove the "US" by setting the site language to English (United States) in Settings > Language and Region > Site Languages.

Regarding the decimal fraction, all the answers posted before 23 August 2022 (including the one mentioned above) will no longer function as intended. This is because of the Squarespace update that I referred to above. For this reason, I don't think you'll find a published solution for removing the trailing zeroes right now. We'll need to write one. 🙂

 

Thanks so much, that worked! Also, removing the decimal as suggested above still worked fine! x

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.