OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums OroCommerce Price XXX

This topic contains 7 replies, has 3 voices, and was last updated by  peeush 3 months, 2 weeks ago.

  • Creator
    Topic
  • #39068

    snb-me
    Participant

    Hi,

    Normally, the price of the listed products shows as USD 0.00 before any input in the quantity of the items to be purchased. Once I input the quantity of the items – the price changes into xxx20.00 USD.

    Why is the XXX showing? I do not understand why it adds XXX before the calculated price?

    Please help me remove this.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Author
    Replies
  • #39084
    Michael
    Michael
    Keymaster

    The wise masters of Unicode (who happen to supply data for CLDR, ICU, libicu and PHP intl) have decided a while ago that in the country “empty country” people use XXX as the currency sign for any currency, so this is how the monetary amounts are formatted in recent versions of PHP when you don’t specify the country in your locale formatting settings.

    If you need the currency formatted according to your country preferences, just make sure that you select not only the language, but also the country.

    Go to System -> Localization -> Localizations, check the values in the “Formatting” column, and choose country-specific formatting in the ones that don’t have any country specified:

    #39085

    snb-me
    Participant

    Thanks Micheal,

    But my language is english and my country and currency is SAR.

    #39087
    Michael
    Michael
    Keymaster

    Do you mean that after you changed “Formatting” to “English (South Africa) – en_ZA” – it still formats currency as XXX ?

    #39089

    snb-me
    Participant

    Thanks, Micheal, My currency is Saudi Riyal – So I actually changed the formatting to English US and it worked. Thanks a ton for your prompt and useful support always.

    I just have a recommendation that sometimes we can have a simple product – example a water bottle
    1. Glass Bottle for USD 10
    2. PLastic Bottle for USD 8

    However, the current configurable product has the potential to group the two items as one with the option to choose either a glass or plastic bottle. But in the “InLine matrix form” of price display, the product price is not specified which makes it difficult to provide consumers the clarity of what is being charged for the product.

    That is :
    Quantity
    Glass Bottle
    Plastic Bottle

    instead of

    Price Quantity
    Glass Bottle 10 Per Item
    Plastic Bottle 8 Per Item

    Hope this can be addressed in the future releases, although the system calculates properly but visibility/clarity to the consumer is an issue.

    Regards

    #39899

    peeush
    Participant

    Hello – I am having the same issue (pricing shows XXX in front of the price), even though I have updated Localization settings in my Admin App – below are the settings I am using:

    System / Configuration / Localization
    Location options
    Primary Location*: India

    Localization settings
    Default Localization*: English
    Enabled Localizations*: English

    Please advise on how to fix this.

    #39906
    Michael
    Michael
    Keymaster

    peeush, go to System -> Localization -> Localizations, check the values in the “Formatting” column, and choose country-specific formatting in the ones that don’t have any country specified.

    #39910

    peeush
    Participant

    Perfect – thanks Michael! I changed “English” (in Formatting column) to “English (United Kingdom)” and it solves the issue!

    THank you for your guidance!

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No