Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help me with the UK currency £


Guest

Recommended Posts

so i have created the GBP currency in admin adding this £ at the symbol left....everything works perfect...prices are displayed the right way..the only thing is when the order email comes through...instead of £ it displays £130.00 for example...

if i change in the database from £ to £ again prices are good until the order email comes with £130.00 for example...

the GBP currency is set as default, i edited the english.php to reflect that...what to do more?

thanks a lot

Link to comment
Share on other sites

you need to set right encoding, this can be done via language file.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

you need to set right encoding, this can be done via language file.
// charset for web pages and emails

define('CHARSET', 'iso-8859-1');

i have this in english.php if this is what you mean

Link to comment
Share on other sites

correct to:

@setlocale(LC_TIME, 'en_GB.ISO_8859-1');

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

correct to:

@setlocale(LC_TIME, 'en_GB.ISO_8859-1');

i have this as well on an upper line

// look in your $PATH_LOCALE/locale directory for available locales

// or type locale -a on the server.

// Examples:

// on RedHat try 'en_US'

// on FreeBSD try 'en_US.ISO_8859-1'

// on Windows try 'en', or 'English'

@setlocale(LC_TIME, 'en_UK.ISO_8859-1');

 

it's basically the same..should i delete the define CHARSET thing?

Link to comment
Share on other sites

i have this as well on an upper line

// look in your $PATH_LOCALE/locale directory for available locales

// or type locale -a on the server.

// Examples:

// on RedHat try 'en_US'

// on FreeBSD try 'en_US.ISO_8859-1'

// on Windows try 'en', or 'English'

@setlocale(LC_TIME, 'en_UK.ISO_8859-1');

 

it's basically the same..should i delete the define CHARSET thing?

 

No you need only correct the setlocale.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...