I did this trick converting php line
<?php echo $this->getCountryHtmlSelect() ?>
to html line but not worked. In site showing one blank line and other line India. I need only one line India or remove dropdown.
If it's loading the default country, India, correctly, and you want to possibly use other country codes in the future, you can just disable the field with CSS so that the option can't be changed by the user:
.input-country {
pointer-events: none;
}
Please follow following step.
Step 1:-First of all login in your magento admin
Step2:-Now go System->Configuration->general->Countries Options->Allow Countries and select one country you want to display.
Step 3:-save config.
Step 4:-Now clear Cache.
Step 5:-then you see one country on checkout page.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.