Skip to content
Questions & AnswersCategory: QuestionsCurrency Rounding
Luci asked 3 years ago

Hello, I am looking for a plugin for my Squarespace site to change $ to AED and the Pro version of your plugin looks great. But can you please expand on how this plugin rounds the currency?

As in AED, 10 Dirhams is circa $3 so when you're selling high price items it looks odd to the customer to be selling them as AED1843 for example. Would look better as AED1850 or even 1900.

Is this possible?

1 Answers
Dave Hilditch Staff answered 3 years ago

There is an option to round prices:


It behaves as follows:

If the price is less than 20, round up to nearest whole unit. For example: 19.20 becomes 20

If the price is greater than 20, less than 500, round up to the nearest 5. For example: 36.23 becomes 40

If the price is greater than 500, round up to the nearest 10. For example, 701 becomes 710.

It has been designed this way (always rounding up) to avoid nasty surprises for your customers when they go to checkout – they will get an up to date price rounded by your payment provider and it’ll be slightly less than what was displayed on screen for them.

Price rounding is also great to avoid price movements throughout the day/week. Your users will get confused if your prices are constantly changing, so by rounding the price you avoid this.

Kar Wai Ng replied 1 year ago

Would it be possible to add a little more granularity for the rounding tiers? Items in the low 20’s being rounded up 5 is too great. IE 20.40 ending up as 25 is a huge jump. Let’s say, between 20-50, it should round up to nearest whole unit, plus 1. So 20.40 becomes 22. And 33.11 becomes 35.

Dave Hilditch Staff replied 1 year ago

I’ve deployed a new version for you to test. If you could please alter your code injection area and the mulicurrencyalizerXY.js part to this:


Let me know your results.

Kar Wai Ng replied 1 year ago

I’ve turned on the rounding, and with both 3.80 and 3.81, the rounding option is also changing my base currency prices, which should not be touched at all.

Dave Hilditch Staff replied 1 year ago

You need to ensure your first currency listed is your home currency.

Kar Wai Ng replied 1 year ago

The first currency listed is the home currency. The script seems to be altering the home currency as well.

Kar Wai Ng replied 1 year ago

Also, changing the true/false flag in the code doesn’t toggle this setting; I have to select this in the config UI and generate the code which appears the same (‘false’ always showing in code); perhaps this setting gets changed server-side on your end?

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.