- This topic has 8 replies, 6 voices, and was last updated 2 years ago by .
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Show currency symbol after the amount
Tagged: currency symbol
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?
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;
Hi,
In which file did you do that?
Thank you.
It is in the “wp_eStore1.php” file.
I changed it, refreshed the page, but it’s still the same.
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?
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:
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
There is a settings option for this. Look in the following settings interface
eStore Settings -> Advanced Settings -> Price Display Settings