UK-BASED, DEFAULT OSCOMMERCE INSTALLATION.
For osCommerce 2.2 Milestone 2 (12th July 2003).
Wouldn't it be great if the default osCommerce installation is configured for UK businesses by default?
What about UK address layout?
What about UK date format?
What about the missing UK Counties, currency and VAT example?
Please Note:
This package is intended to be a UK-Based osCommerce DEFAULT installation and NOT a "loaded" installation.
This allows users to have the freedom of choosing their own contributions without additional compatibility problems.
Features:
- Added UK counties of England, Wales, Scotland, Northern Ireland and Channel Islands.
- UK date format for Admin section.
- UK date format for Catalog section.
- UK address layout in create_account.php, address_book_process.php and checkout_shipping_address.php
- Updated date format related error constants.
- Added British Currency (default).
- Updated the sample catalog's price database.
- VAT.
- VAT zones.
Screenshots are also included.
In addition, this original osCommerce 2.2 bug is fixed.
http://www.oscommerce.com/community/bugs,1426/search,country
Installation:
Replace the US based installation files with the UK based files included in this package.
Install osCommerce in the usual manner.
Supporting Forum: http://forums.oscommerce.com/index.php?showtopic=130454
All UK related questions, comments and suggestions are welcome.
Legend: 
Download

Report
UK-BASED, DEFAULT OSCOMMERCE INSTALLATION. (05 Aug 2008)
For osCommerce 2.2 Release Candidate 2a.
I noticed there was some demand for this on the forum thread, so I have gone ahead and created it.
As before, this must be applied to the INSTALLATION files BEFORE installation occurs.
I have attempted to include all the features from the original, and have also included all of the bug fixes listed on the forum thread (to date). I have not included the two other contributions listed here, so if you require those features you must add them yourself.
For UK based sites operating with servers abroad.
You will notice that your dates and times for the site are set by the server, these mods allow the server to provide local times.
*****************************************
In catalog/includes/application_top.php
Near 475 find:
// include the who's online functions
require(DIR_WS_FUNCTIONS . 'whos_online.php');
tep_update_whos_online();
add before:
// set local date
putenv("TZ=Europe/London");
***************************************
In catalog/admin/includes/application_top.php
Near 163 find:
// define our localization functions
require(DIR_WS_FUNCTIONS . 'localization.php');
add after:
// set local date
putenv("TZ=Europe/London");
***************************************
You will find that for the most part OSC uses the function now() when storing dates/times, unfortunatly even after setting the above now() will return the server time, to fix replace
all instances of now() with date("Y-m-d H:i:s"). This must not be enclosed in quotes,
ie if you have: array('date_added' => 'now()');
replace it with: array('date_added' => date("Y-m-d H:i:s"));
Thats It.
Attached Is Same
If you are accepting cheques in a UK store, change the file catalogincludeslanguagesmodulesmoneyorder.php.
Find the code "define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Check'); and change to "define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Cheque');"
UK-BASED, DEFAULT OSCOMMERCE INSTALLATION.
For osCommerce 2.2 Milestone 2 (12th July 2003).
Wouldn't it be great if the default osCommerce installation is configured for UK businesses by default?
What about UK address layout?
What about UK date format?
What about the missing UK Counties, currency and VAT example?
Please Note:
This package is intended to be a UK-Based osCommerce DEFAULT installation and NOT a "loaded" installation.
This allows users to have the freedom of choosing their own contributions without additional compatibility problems.
Features:
- Added UK counties of England, Wales, Scotland, Northern Ireland and Channel Islands.
- UK date format for Admin section.
- UK date format for Catalog section.
- UK address layout in create_account.php, address_book_process.php and checkout_shipping_address.php
- Updated date format related error constants.
- Added British Currency (default).
- Updated the sample catalog's price database.
- VAT.
- VAT zones.
Screenshots are also included.
In addition, this original osCommerce 2.2 bug is fixed.
http://www.oscommerce.com/community/bugs,1426/search,country
Installation:
Replace the US based installation files with the UK based files included in this package.
Install osCommerce in the usual manner.
Supporting Forum: http://forums.oscommerce.com/index.php?showtopic=130454
All UK related questions, comments and suggestions are welcome.