dragonfoundry Posted February 9, 2005 Share Posted February 9, 2005 Our core business market will be the UK and thus have no requirement for the country field on the customer registration page. Is there a way to remove it? A Place To Forge Link to comment Share on other sites More sharing options...
Singularity Posted February 9, 2005 Share Posted February 9, 2005 Our core business market will be the UK and thus have no requirement for the country field on the customer registration page. Is there a way to remove it? <{POST_SNAPBACK}> Delete or comment out these lines of your \catalog\includes\column_right.php if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_BOXES . 'languages.php'); include(DIR_WS_BOXES . 'currencies.php'); ----------------------------------------------------------------------------- Adam Get your osc documentation here: http://www.oscommerce.info/ Link to comment Share on other sites More sharing options...
dragonfoundry Posted February 9, 2005 Author Share Posted February 9, 2005 Delete or comment out these lines of your \catalog\includes\column_right.php if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_BOXES . 'languages.php'); include(DIR_WS_BOXES . 'currencies.php'); <{POST_SNAPBACK}> Thants for the reply but I have done that. Where the client fills in their name, address, etc to register with the site it is the drop down box for the countries that im trying to remove. A Place To Forge Link to comment Share on other sites More sharing options...
Singularity Posted February 10, 2005 Share Posted February 10, 2005 Thants for the reply but I have done that. Where the client fills in their name, address, etc to register with the site it is the drop down box for the countries that im trying to remove. <{POST_SNAPBACK}> Oh, then go to your admin and check what you have in Location / Taxes under Countries. You can remove them from there. ----------------------------------------------------------------------------- Adam Get your osc documentation here: http://www.oscommerce.info/ Link to comment Share on other sites More sharing options...
♥Vger Posted February 10, 2005 Share Posted February 10, 2005 Yes, you can remove the countries, but not the drop down box that way. However you can cut it down to just the one country that people can select - the UK in your case. It's much quicker to remove the other countries via the database in phpMyAdmin provided you know how to do that. To remove the drop down box itself, well the drop downbox is a required field and removing it entirely from the Create Account page will need a lot of work in both create_account.php and in includes/languages/english.php. Vger Link to comment Share on other sites More sharing options...
dragonfoundry Posted February 10, 2005 Author Share Posted February 10, 2005 Thanks folks for the replies. I have taken the easy way out and just made the United Kingdom the default country and it is automatically selected. All the other countries have been deleted from the datebase. Cheers A Place To Forge Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.