Currency format in prices

Author Message

Daniela Moreno

Thursday 04 November 2004 10:28:33 am

hello
i have a question, does anybody knows how to change the way prices are displayed?
the prices in my site are displayed like this: "$ XXX.XX", and i want them to be displayed like this: "$ XXX.XX US Dlls" or "USD $ XXX.XX", i dont care. i just need to specify that the price is in US dlls.

hoping u can help me,
thanks a bunch

Martin Ulrich

Thursday 04 November 2004 10:53:31 am

have you look in
ezroot/share/locale/yourlanguage.ini

...

[Currency]
PositiveFormat=USD %c %p%q

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

Daniela Moreno

Thursday 04 November 2004 11:01:12 am

hi, thanxs for the quick reply :D

i found share/locale/...

is it correct if i do the positive format change there?

Daniela Moreno

Thursday 04 November 2004 11:03:10 am

haha, oops i guess it is the same, right?

ezroot means my main directory right?

sorry, im such a newbie

Daniela Moreno

Thursday 04 November 2004 12:54:44 pm

Anyways, that totally helped.
Thank you so much!

Jianjun Hu

Monday 15 December 2008 6:48:03 pm

Same problem.
Modify the [Currency] section in /share/locale/xxx-YY.ini, and then clear all the cache.
Solved!

Thanks!

OnlyBlue

☆..·°∴°.☆°°.☆°.
°∴ °☆ .·enjoy star° .·★°∴°
∴°.°★ .·°
  ミ☆°∴°.★☆° ∴·°
°.☆° .·∴° 

Is it a pleasure after all to practice in due time what one has learnt?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 22:17:52
Script start
Timing: Jan 18 2025 22:17:52
Module start 'layout'
Timing: Jan 18 2025 22:17:52
Module start 'content'
Timing: Jan 18 2025 22:17:53
Module end 'content'
Timing: Jan 18 2025 22:17:53
Script end

Main resources:

Total runtime0.7411 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 587.9141152.6250
Module start 'layout' 0.00550.0033 740.539139.4453
Module start 'content' 0.00890.7307 779.9844605.6328
Module end 'content' 0.73960.0015 1,385.617216.1641
Script end 0.7411  1,401.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4587160.0002
Check MTime0.00130.1804160.0001
Mysql Total
Database connection0.00080.111910.0008
Mysqli_queries0.675591.1425680.0099
Looping result0.00070.0958660.0000
Template Total0.709195.720.3545
Template load0.00220.290820.0011
Template processing0.706995.379520.3534
Template load and register function0.00010.015010.0001
states
state_id_array0.00090.116610.0009
state_identifier_array0.00140.185620.0007
Override
Cache load0.00190.2508360.0001
Sytem overhead
Fetch class attribute can translate value0.00080.111230.0003
Fetch class attribute name0.00150.203580.0002
XML
Image XML parsing0.00340.461730.0011
class_abstraction
Instantiating content class attribute0.00000.0030110.0000
General
dbfile0.00710.9533220.0003
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 6

Time used to render debug report: 0.0003 secs