Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Only one country? Is it possible


imlifu

Recommended Posts

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.

Link to comment
Share on other sites

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

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

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

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.

Link to comment
Share on other sites

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

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

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

 

Thank you soooooooooooooo much Jack!!! it works great

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...