Currency symbol rather than code?

  • Posts: 14
  • Thank you received: 0
9 years 5 months ago #222355

-- HikaShop version -- : 2.6.0

hello,
I've just installed this and have a question. I think this falls under product display.

The currency for my shop is Korean won. The problem is that the price is displayed as 3,500 KRW rather than 3,500 ₩ basically it's using the code rather than the symbol for the price. I'd like it to use the symbol, yet can't find that option.

As a note, Korean won does not use decimals, so it should not be configured by default to use 2 decimal places, I did find the place to change that. Also it's probably better to have it set by default to use "," as the group separator as that is most common in online Korean shopping malls.

Please Log in or Create an account to join the conversation.

  • Posts: 83778
  • Thank you received: 13566
  • MODERATOR
9 years 5 months ago #222362

Hi,

Go in the menu System>Currencies, edit your currency and change the "format" setting as explained in the documentation page that you can display with the "help" button when you edit the currency.
You'll also find many settings there to change the way the prices are displayed.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
8 years 11 months ago #242893

I also met this same issue today. This topic solved my problem.

However, I think maybe %n should be the default value, since many times we need to use Currency Symbol in the price, instead of currency code.

Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 83778
  • Thank you received: 13566
  • MODERATOR
8 years 11 months ago #242919

Hi,

The problem is that there are many currencies using the same symbol and thus they often use %i instead of %n.
For example, USD, CAD and AUD (and a few others) all use the $ symbol and so they often rely on the code instead of the symbol.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
8 years 11 months ago #242972

OK, understand now.

Could you please add those explanation for %i and %n as "field tooltip" instead of online documentation? Users always want to know "what I can input here, and what does %i or %n mean", I think a tooltip is better than help button.

Please Log in or Create an account to join the conversation.

  • Posts: 83778
  • Thank you received: 13566
  • MODERATOR
8 years 11 months ago #242994

You can't put links in tooltips, you're limited in the amount of text you can have. The integrated help of the help button allow for all of this and on top of that we can update them whenever we need to as it comes from our website.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
8 years 11 months ago #243031

When I say "field tooltip" , I mean ONLY the "format" field. Because I, and many other users, can NOT understand what we should input here, and what does what mean.

Did I say we need a link inside the tooltip? Do you need a link to explain what is "%i" and what is "%n" ?

Do you need more than 100 characters to explain what is "%i" and what is "%n" ?

Do you need to change the meaning of "%i" and "%n" frequently? I think they have FIXED meaning. Am I wrong?

If you don't know how to write such a tooltip, I give you an example:

You can input following strings here (only select one):
%i:  8  USD
%n: 8 $
%ni: 8 $ USD

If there are more options for this field, just add them. I only found above 3 options.

Please make a word count, how many characters I used in the tooltip? Is there ANY link inside ?

I want to ask AGAIN: do you want to frequently change the meaning of these options? If not, why can't we just show them in the tooltip as constants?

Please Log in or Create an account to join the conversation.

  • Posts: 83778
  • Thank you received: 13566
  • MODERATOR
8 years 10 months ago #243064

Hi,

When you click on the Help button of that screen, you'll see this documentation text for that option:

Format : The way you want to display the symbol (basically you will have %i which will display the currency code next to the price, %n which will display the currency symbol next to it, and %ni which will display both). For more information, you can look at www.php.net/manual/en/function.money-format.php

As you can see on the link given in the documentation, the "format" option can contain way more things than just %i or %n.
That's why we give a link because there are too many possibilities to put in the general documentation of the currency settings.
%i and %n are just the basic examples.
If there was only three options, we would actually make it a dropdown with the three choices and be done with it, so no tooltip or documentation would actually be necessary.

That setting hasn't been updated in a while. But that's not the point. The point is that we want to keep the documentation consistent so that it's the same way to access it everywhere. And everywhere else, there is the "help" button at the top with all the documentation pertaining to the current page.
And we do update frequently other documentation pages as we change the interfaces or get feedback on what should be better explained etc.

You'll reply that we could add a tooltip only for that option, with the basic setup without the link. Sure, we could. But then why that option and not another one ? Or each one ? And then, you end up doubling the size of the translation file which is already big, and you spend a lot of time doing that, translators spend a lot of time translating all the tooltips.
And when we change the text in the tooltips, translators end up having to translate again.
And it doubles the work on the documentation as we now have to update both the tooltips and the documentation pages.
Time I prefer to spend on improving HikaShop and providing support to customers. But I see what you mean and appreciate that you spent your time providing feedback from your point of view. I hope you can appreciate our point of view too.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
8 years 10 months ago #243099

Great! I think you make a better decision to use "dropdown" field instead of "inputbox" for that Format field.

This way, it will be more easier for us to configure it.

Thank you.

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum