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
  • 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.

 

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with a Squarespace Domain

Link to comment
  • 6 months later...
5 hours ago, onliabhishek said:

The above code by Paul does not work. The invoice defaults to A$

The code linked above is not designed to work on invoices. It is for product/store pages only.

It is not possible to modify the content of invoices by adding any code to Squarespace. To modify the content of an invoice that you are printing, you would need to write some code and add it to a bookmarklet in your browser. 

Edited by paul2009

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with a Squarespace Domain

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.