Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

my store is only in one country....


itchy

Recommended Posts

Some ideas:

 

It depends if you also want to stop shipping to other countries.

 

Simple way - just delete all the countries you do not want using Admin - Locations - Countries. This will still show the remaining country on the account create form but no other choices. Shipping will not be allowed to other countries (ie the customer cannot set-up an address book entry for another country either).

 

Alternative way - change the country selection box in includes / modules / account_details.php to a hidden field with a default value for the country you want. I am not sure of the impact of this without trying it so you may need to experiment a bit - plus remember that the country is shown in the customers address book as well. This method might allow country selection in the address book but not the create account.

 

I am faily certain that if you just comment out the country field, it will fail as other fields e.g. zone depend on the country selection plus the javascript form check.

 

Also search for this: 'Control what fields of the customer table are used' in application_top - it doesnt include country but it may give you some ideas how to do what you want.

Ian-san

Flawlessnet

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...