Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Currency Output Format


peterpil19

Recommended Posts

Hi Guys, Just a quick question:

 

How do I get the currency output in the product info page to look like this:

 

$AU 500

 

not

$AU500

 

i.e. how do I put a space or two between the symbol left and the actual price?

 

Thanks for any help!

 

--Peter

CE PHOENIX SUPPORTER

Support the Project, go PRO and get access to certified add ons

Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design.

Download the latest version of CE Phoenix from gitHub here

Link to comment
Share on other sites

or at least to set me on the right track, is it a database entry that I have to change or is it in currencies.php?

 

--Peter

CE PHOENIX SUPPORTER

Support the Project, go PRO and get access to certified add ons

Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design.

Download the latest version of CE Phoenix from gitHub here

Link to comment
Share on other sites

not sure how effective that will be but can you try as a test adding a space as the right symbol in the currency properties in admin (Symbol Right)? (backup the dbase first)

Link to comment
Share on other sites

You can do it from in Admin...

 

Go to Admin - Localization - Currencies

 

And for the 'Symbol Left' instead of just putting $AU in the box type

$AU 

 

And it will add a blank space after it.

 

Its a bit of an old html trick, but works nicely.

Link to comment
Share on other sites

Thanks champs!

 

--Peter

CE PHOENIX SUPPORTER

Support the Project, go PRO and get access to certified add ons

Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design.

Download the latest version of CE Phoenix from gitHub here

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...