Lowmax Posted September 25, 2022 Share Posted September 25, 2022 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 paul2009 Posted September 25, 2022 Solution Share Posted September 25, 2022 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. Wolhast 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original 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 completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Lowmax Posted September 25, 2022 Author Share Posted September 25, 2022 Brilliant! Thanks for your advice, it has worked for me. Link to comment
onliabhishek Posted April 18, 2023 Share Posted April 18, 2023 (edited) Hi can you please help on above? The above code by Paul does not work. The invoice defaults to A$ but I want it to show AUD due to certain requirements. Thanks Edited April 18, 2023 by onliabhishek Link to comment
onliabhishek Posted April 18, 2023 Share Posted April 18, 2023 Is it possible to change the way amount looks on the invoice from for eg A$ 10.00 to AUD 10.00? There seems to be no apparent solution to this? Link to comment
paul2009 Posted April 18, 2023 Share Posted April 18, 2023 (edited) 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 April 18, 2023 by paul2009 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original 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 completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment