Posted: September 19, 2012 at 1:01 am
|
Prices listed in Japanese Yen retain a trailing .00 If displayed properly the price should look like the following: |
|
Hi Michael, Theres no way to remove the trailing .00 from the EE options. It can be done however by amending the templates. I did it successfully with the event_list_display.php by editing the code at line 70 screenshot I inserted this code above that line
and then on line 70 changing Obviously you can use whatever variable names you want. You would need to do a similar process for the registration_display.php and confirmation_display.php files as well. As always we recommend that these files are copied to the uploads/espresso/templates directory before editing. |
|
September 20, 2012 at 11:40 pm Dean, I appreciate your support. I’m wondering if you made a mistake with regards to the screenshot you posted. Could I bother you to explain where the code is that I should change within: Thanks! |
|
September 21, 2012 at 12:31 am Hello Michael, Not sure what you mean regarding the screenshot, it was just to show that the code removes the trailing .00 from the figures (it can’t differentiate between currency types its across the board, i should have mentioned that). registration_page_display (yeah I mistyped in the last message)
The 2’s need to be changed to zeros. Same thing in the Confirmation display PLEASE NOTE: 3.1.27 has a different template structure so these wont work when you upgrade. |
|
OUCH! I’m using EE Version 3.1.27.P Thanks for your patience! |
|
Hi Michael, I thought you were running .26 but now I know. The .27 version has had its code changed in how this works. Let me run it by a dev to see if I can get a resolution for you. |
|
Any movement on this? |
|
Hi Michael, Yes I did receive some feedback. Basically it would require some extensive reworking of the plugin. The developers are looking into whether it should be incorporated into version 3.2, I will make sure it gets a +1 from you. |
|
From all Japanese website developers… thank you! |
The support post ‘Japanese Yen’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.