itchy Posted March 11, 2003 Share Posted March 11, 2003 My customers are only shopping from one country so i don?t want them to have to select a country when they create an account. Can anyone get me started on how this is done. Link to comment Share on other sites More sharing options...
Ian-San Posted March 11, 2003 Share Posted March 11, 2003 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 More sharing options...
itchy Posted March 11, 2003 Author Share Posted March 11, 2003 Thank you Ian, I desided to take the simple way :) . I just went to the database and deleted all but one countries from the countries table. Thanks for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.