umtwebby Posted March 22, 2008 Posted March 22, 2008 I am still at the testing stage of my cart. When an order is made and that order is viewed in the order information page (account_history_info.php) in the delivery address and the billing address box is a capital U beneath. This is present on all of the test accounts created. Not a massive problem but I don't understand why it is there or how to get rid of it. Can anyone help?
Guest Posted March 22, 2008 Posted March 22, 2008 I am still at the testing stage of my cart. When an order is made and that order is viewed in the order information page (account_history_info.php) in the delivery address and the billing address box is a capital U beneath. This is present on all of the test accounts created. Not a massive problem but I don't understand why it is there or how to get rid of it. Can anyone help? You must be using an older version of 2.2. The U is probably USA in the address. Post what osc 2.2 version you are using.
umtwebby Posted March 22, 2008 Author Posted March 22, 2008 I think this is the relevant version: define('PROJECT_VERSION', 'osCommerce 2.2-MS2'); Based on what you are saying below, I suppose it could be the letter U from United Kingdom. As I reckon I will only sell items within the UK I could also get rid of it. Thanks
♥Vger Posted March 22, 2008 Posted March 22, 2008 Even on older versions it should show more than one letter e.g. US Vger
Guest Posted March 22, 2008 Posted March 22, 2008 I think this is the relevant version: define('PROJECT_VERSION', 'osCommerce 2.2-MS2'); Based on what you are saying below, I suppose it could be the letter U from United Kingdom. As I reckon I will only sell items within the UK I could also get rid of it. Thanks If you are still testing, you would be better off downloading and installing the latest version. Failing that, backup, and try reversing this change ------------------------------------------------------------------------------ Use The Correct Country Name Value When Formatting Addresses http://www.oscommerce.com/community/bugs,1291 http://svn.oscommerce.com/trac/changeset/713 ------------------------------------------------------------------------------ Problem: Depending on the values passed to tep_address_format(), an array value could be used as the country name instead of a string value. Solution: The following line must be replaced in catalog/includes/functions/general.php: Line 453, from: $country = tep_output_string_protected($address['country']); to: $country = tep_output_string_protected($address['country']['title']); ie remove the ['title'] from both files.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.