I customized the registration form my self. In that form i dont require country option not even in shipping address. So how can i disable country option from the entire site. i have local cutomer chain in US so i dont need country option but need state/province option in text box.
If this is urgent, do a quick fix from the Admin side and then you can alter the PHTML file to match at your leisure.
Do you have lots of countries showing up in the drop down list? If you do, go to ADMIN> System> Configuration-General tab. In the “Countries options” section make sure the default country is the US and then select only the US as an allowable country. What this’ll do is remove all of the other country options from all of the country drop downs. As long as US is set as the default country, that’ll be pre-populated and the customer won’t have to select it at least. It’s not perfect, but it eliminates all the incorrect countries from showing up in the lists and buys you time maybe.
Then, to get rid of the country drop down completely, you have to find the spots where it’s located--checkout, account, edit billing address form, edit shipping address form and either comment it out or delete it from the PHTML file that controls that form. In the one page checkout, the billing form is located at: app/design/frontend/yourInterface/yourTheme/template/checkout/onepage/billing.phtml. Comment out the following code section:
I take it back on my advice to comment out that div with the country input field. I walked away and remembered there’s some javascript field checking and drop-down creation on those forms that requires the country code. You can probably assign the variable easily enough as well, but really quick and dirty, set the class on the input field to be “no-display” and it’ll hide the field but still pass the US as the country since it’s the default, and you should be all set. Sorry about the bum steer.
I kinda have a different situation. I want all countries to show up in billing address but only a single country in shipping address. how do i do that. please help