Jump to content

Change the currency symbol

Go to solution Solved by paul2009,

Recommended Posts

Site URL: https://jocarprices.com

Hi, can someone advise me on how to change the currency symbol on my 7.1 site. I just want to change the $ to a different text.

The following didn't work for me:

.sqs-money-native:before { content:'JOD '!important; }

 

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> window.Squarespace.onInitialize(Y, function(){ $(".ProductItem-details .product-price").html(function() { return $(this).html().replace("$", "JOD"); }); }); </script> 

Thank you very much for your help!

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution
1 hour ago, Lowmax said:

can someone advise me on how to change the currency symbol on my 7.1 site

The code you have quoted is out of date. Squarespace changed their price formatting on 23 August 2022. Please take a look at the guide I wrote here: Changing price formatting in Squarespace.

 

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

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.