African_Kid Posted August 31, 2022 Share Posted August 31, 2022 (edited) Site URL: https://www.afroposters.com/posters/p/carte-abidjan-noirblanc How to change the currency symbol ? Hello, my website is targeted at customers in West Africa, our currency symbol being" XOF ".(I do not use the e-commerce payment features, but still need the store structure for my business.) I was using a CSS code I found to just change the currency symbol (full tutorial here) : .sqs-money-native:before { content:none !important;}.sqs-money-native:after { content:' XOF '!important;} But with the changes to the price formatting, this has stopped working (it is back to showing the "€" symbol) ! How it is :" 15 000,00 €" ---- what I want ----> "15 000 XOF" Can someone please help me, for the moment I will try and hide the prices, but it's terrible for business. The website is : www.afroposters.com We are on the commerce basic plan. (I read that some JavaScript might be required)Thank you all very much in advance ! Edited August 31, 2022 by African_Kid Link to comment
tuanphan Posted August 31, 2022 Share Posted August 31, 2022 Can you remove the code you used to hide price? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Solution paul2009 Posted August 31, 2022 Solution Share Posted August 31, 2022 (edited) 13 hours ago, African_Kid said: I was using a CSS code I found to just change the currency symbol (full tutorial here) but with the changes to the price formatting, this has stopped working (it is back to showing the "€" symbol)! Hi @African_Kid You were following my guide 🙂 Changing the currency symbol in Squarespace but it would have stopped working when Squarespace introduced a price formatting update (starting on 23 August 2022). I have now updated the guide so please take a look and then let me know how you get on. As you'll be the first to try it, please DM me if you experience any issues. Edited August 31, 2022 by paul2009 African_Kid 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
African_Kid Posted August 31, 2022 Author Share Posted August 31, 2022 Hi @paul2009, The updated code has worked like a charm to change the currency symbol ! Thank you very much for how fast you answered 🙂 Now I just need to find a way to remove the ",00" which doesn't apply to our currency. I had an old line of code I was using for that, but it has stopped working as well ... Any chance you could help me with that as well ? Anyhow, thank you very much again ! paul2009 1 Link to comment
paul2009 Posted August 31, 2022 Share Posted August 31, 2022 1 hour ago, African_Kid said: Thank you very much for how fast you answered. Now I just need to find a way to remove the ",00" which doesn't apply to our currency You're welcome 🙂. I've added a section to the guide called Removing the decimal fraction. African_Kid 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
African_Kid Posted August 31, 2022 Author Share Posted August 31, 2022 Thank you very much @paul2009 everything is good now ! Link to comment
paul2009 Posted September 6, 2022 Share Posted September 6, 2022 5 hours ago, Amanda_in_NZ said: I followed the instructions and now my prices are showing as NZ$ How do you want prices to show? They can show as NZ$ or $ without using any code 🙂 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
paul2009 Posted September 7, 2022 Share Posted September 7, 2022 4 hours ago, Amanda_in_NZ said: I want prices to show as NZ$(price) - for now at least! - but I want people to be purchasing in NZD not in Euros when they make payment. The guide isn’t what you need. It was written for people who need to display a currency that Squarespace doesn’t support. As Squarespace supports NZD you can simply select this currency in the Checkout settings. After doing so, you should see prices like this: $9.99. Next, if you change your site’s language from English (New Zealand) to something like English (United Kingdom) or English (United States), the symbol will change and your prices will show as NZ$9.99 instead. I hope this helps 🙂. lafisal 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
Coralie Posted September 14, 2022 Share Posted September 14, 2022 Hi everyone, Thanks @paul2009, that code is working perfectly for me (7.1). I needed a "€ / linear meter" instead of "€". But, within the same shop, I ALSO need a "€ / squared meter" and a "€". Do you think it is something that I can fix with specific tags calling for "linear/squared/units" tagged products? Thanks for your answer ! Link to comment
paul2009 Posted September 14, 2022 Share Posted September 14, 2022 2 hours ago, Coralie said: I needed a "€ / linear meter" instead of "€". But, within the same shop, I ALSO need a "€ / squared meter" and a "€". Do you think it is something that I can fix with specific tags calling for "linear/squared/units" tagged products? Yes, you should be able to do this with code. 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
Coralie Posted September 15, 2022 Share Posted September 15, 2022 (edited) Great, thank you @paul2009, but I have no idea where to place the ".product-mark.linear" into the code... I've tried to edit your code with it, but it's not working... I'm not "fluent" in scripts... Can you please help me with this ? Edited September 15, 2022 by Coralie copyright Link to comment
paul2009 Posted September 15, 2022 Share Posted September 15, 2022 2 hours ago, Coralie said: I have no idea where to place the ".product-mark.linear" into the code Please provide a working link to the product. This allows us to take a look at the site and explain how to achieve what you require. 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
Coralie Posted September 15, 2022 Share Posted September 15, 2022 Wonderful ! This one for € / squared meter (tag: square)https://www.coralieprevert.com/fr/shop-deco/p/papier-peint-eco-responsable-alba This one for € / linear meter (tag: linear)https://www.coralieprevert.com/fr/shop-deco/p/moquette-fiesole And this one for € (tag: unit)https://www.coralieprevert.com/fr/shop-deco/p/tapis-sur-mesure Link to comment
paul2009 Posted September 15, 2022 Share Posted September 15, 2022 @Coralie I have updated the original guide to explain how to set the price by the linear metre and square metre. Let me know how you get on. Coralie 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
Coralie Posted September 15, 2022 Share Posted September 15, 2022 A great thank you for your help @paul2009, it works perfectly well, also when combining "linear" and "squared" prices within the same shop! paul2009 1 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