Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Show currency symbol after the amount

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Show currency symbol after the amount

Tagged: currency symbol

  • This topic has 8 replies, 6 voices, and was last updated 6 years, 1 month ago by admin.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • June 8, 2010 at 8:00 am #1333
    rickfalk
    Member

    Hi,

    for swedish currency you have the currency symbol after the amount, like 45kr. In wp-estore cart it is displayed like kr45.

    Is there any way to change so that i get the currency symbol after the amount?

    June 8, 2010 at 2:57 pm #21506
    rickfalk
    Member

    Issue solved!

    Replaced the following line in the “wp_eStore1.php” file:

    return $symbol.number_format($price, 2, $decimal, $thousands_sep);

    with the following

    return number_format($price, 2, $decimal, ',') . $symbol;

    November 25, 2010 at 12:17 pm #21507
    AronD
    Member

    Hi,

    In which file did you do that?

    Thank you.

    November 26, 2010 at 12:17 am #21508
    amin007
    Participant

    It is in the “wp_eStore1.php” file.

    November 26, 2010 at 1:16 pm #21509
    AronD
    Member

    I changed it, refreshed the page, but it’s still the same.

    June 23, 2011 at 10:35 am #21510
    Susnos
    Member

    Hi, I’m from sweden too and did that change to the wp_eStore1.php, worked perfectly, thank you. But I’m going to use variations and the currency symbol in that field is still before the price. Any idea how to fix this too? I posted this question togetter with another post and got an uppdate, but still the currency symbol is at the wrong place, but love that you can specyfy what to have in “Variation Addition Symbol” instead of just “+”

    Trouble selling both digital and non-digital products at the same time

    So is there a way to also get the symbol right in the variations fields?

    June 24, 2011 at 1:11 am #21511
    amin007
    Participant

    I have done another build where I made it so the variation prices also use that function to display the amount and the currency symbol. Please get this build from here and then do the change mentioned in the above post and your variation should display the currency symbol on the right:

    https://support.tipsandtricks-hq.com/update-request

    March 27, 2019 at 2:28 pm #21512
    h
    Participant

    Hi,

    I´ve searched for the following code: return $symbol.number_format($price, 2, $decimal, $thousands_sep);

    …in the wp_eStore1.php file but without any success. I´ve also tried to choose “Right” under the Dashboard > WP eStore > Advanced Settings > Currency Position. But still the buyer body email is sent with the currency symbol to the left of the amount. Im referring to the mail merge tag called {product_details}. The currency code is shown to the right as I want it. But the currency symbol is still to the left of the amount.

    What has changed since 2012?

    Best regards,

    H

    March 28, 2019 at 6:55 am #21513
    admin
    Keymaster

    There is a settings option for this. Look in the following settings interface

    eStore Settings -> Advanced Settings -> Price Display Settings

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ