UKBenC Posted August 2, 2006 Share Posted August 2, 2006 Hi people just another newbie in need of help please. I have setup everything in the shop besides the customer account page its still in american with things like suburb, state/province and the date of birth is the wrong way round. Now I dont know php but if someone can explain to me how to change suburb into address line 1 and ste/province into county I would greatly appriciate it. Also can I add anymore custom lines into there something like address line 2 thanks Ben Link to comment Share on other sites More sharing options...
UKBenC Posted August 3, 2006 Author Share Posted August 3, 2006 Also I have removed a few banners and images but now they just appear as boxes with the red x's in them, is there anywhere I can completely remove them? I really need a dummies guide to php I think :lol: my website is www.bc-computers.co.uk Link to comment Share on other sites More sharing options...
MEDIAZONE Posted August 3, 2006 Share Posted August 3, 2006 Also I have removed a few banners and images but now they just appear as boxes with the red x's in them, is there anywhere I can completely remove them? I really need a dummies guide to php I think :lol: my website is www.bc-computers.co.uk Hi You have deleted the images but not the ref to them within header.php left_column.php index.php You will need to delete them or they will continue to look for the images you have deleted. If you need help please post the above 3 files here and i will show you what needs to be taken out Many Thanks Simon Your Media Zone Remember to ALWAYS BACKUP Life is like box of chocs - You never know what your gonna get! Do you feel lucky punk? Well do ya! P-A-R-T WHY COS I GOTTA! Link to comment Share on other sites More sharing options...
UKBenC Posted August 3, 2006 Author Share Posted August 3, 2006 Hi You have deleted the images but not the ref to them within header.php left_column.php index.php You will need to delete them or they will continue to look for the images you have deleted. If you need help please post the above 3 files here and i will show you what needs to be taken out Thanks for that i'll back the files up and give it a go myself, failing that I will post them on here. Cheers! Link to comment Share on other sites More sharing options...
abra123cadabra Posted August 3, 2006 Share Posted August 3, 2006 As for the address, the names are set in /catalog/includes/languages/english.php (etc.) around line 150. I used entry_street_address as address line 1 and suburb as address line 2 (removed the if suburb set to true bit in the codes like create_account.php if suburb is not required in admin). To add another address line would mean to change the database layout and all the bits where an address is recalled, displayed, stored etc. abra The First Law of E-Commerce: If the user can't find the product, the user can't buy the product. Feedback and suggestions on my shop welcome. Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong. Link to comment Share on other sites More sharing options...
UKBenC Posted August 3, 2006 Author Share Posted August 3, 2006 As for the address, the names are set in /catalog/includes/languages/english.php (etc.) around line 150. I used entry_street_address as address line 1 and suburb as address line 2 (removed the if suburb set to true bit in the codes like create_account.php if suburb is not required in admin). To add another address line would mean to change the database layout and all the bits where an address is recalled, displayed, stored etc. abra That worked a treat thanks, is there any way of moving the post code to the bottom of the list? Link to comment Share on other sites More sharing options...
abra123cadabra Posted August 3, 2006 Share Posted August 3, 2006 You'd need to find this bit in all files that have the address input fields (like /catalog/create_account.php, /catalog/includes/modules/checkout_new_address.php and /catalog/includes/modules/address_book_details.php): <tr> <td class="main"><?php echo ENTRY_POST_CODE; ?></td> <td class="main"><?php echo tep_draw_input_field('postcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> </tr> and move it down to where you'd like it displayed. Make sure you move it past the closing </tr> so that it doesn't mess up the table layout. abra The First Law of E-Commerce: If the user can't find the product, the user can't buy the product. Feedback and suggestions on my shop welcome. Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.