imlifu Posted July 30, 2006 Share Posted July 30, 2006 when customers creat new accounts, is it possible there is only one country available rather than many coutires options because we don't do international businesses, all customers are supposed in local country. If anyone knows how to do, that's great, thanks in advance. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 30, 2006 Share Posted July 30, 2006 You need to delete all of the other countries from the database. You can do that in admin or with phpmyadmin. The latter is faster but more difficult if you are not familiar with it. Also find the line tep_get_country_list('country') and change it to tep_get_country_list('country', '223') where the number is your countries code (223 - US). Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
imlifu Posted July 30, 2006 Author Share Posted July 30, 2006 You need to delete all of the other countries from the database. You can do that in admin or with phpmyadmin. The latter is faster but more difficult if you are not familiar with it. Also find the linetep_get_country_list('country') and change it to tep_get_country_list('country', '223') where the number is your countries code (223 - US). Jack Thank you very much, Jack. I tried deleting countries in admin area, but it took me too much time and gave up this at last. I prefer the latter option. I can open phpmyadmin and found country in the left column, clicked on country, in the right column, there are countries_id, countries_name, countries_localname, etc , once I clicked on countries_name, there are a lot of countries underneath, now I want to know how I can delete the countries which I don't want? after deleted countries, will it affect tax zone? (I fresh instaled oscommerce, no tax zone set yet) thanks again for any support. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 31, 2006 Share Posted July 31, 2006 Go into phpmyadmin and either empty the countries table or execture this comand DELETE * FROM countries Then go into admin and add the countries you want (it's easier if you write down the fields you will need for your countries first). Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
imlifu Posted July 31, 2006 Author Share Posted July 31, 2006 Go into phpmyadmin and either empty the countries table or execture this comandDELETE * FROM countries Then go into admin and add the countries you want (it's easier if you write down the fields you will need for your countries first). Jack Thank you soooooooooooooo much Jack!!! it works great Quote Link to comment Share on other sites More sharing options...
imlifu Posted July 31, 2006 Author Share Posted July 31, 2006 Hi Jack, another problem which's not related to country's, i don't know if you by chance know how to do: When I work at admin, click on shipping modules, there is an error message. It exists even i upload the new zones.php to overwrite the old one, but the error is still there, can't get rid of, that's a weird problem, if any body know how to do, that would be greatly appreciated. Fatal error: Cannot redeclare class zones in /home/doveinnz/public_html/catalog/includes/modules/shipping/zones.php on line 97 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.