Hi.
If you disable Country in admin but it is still available for selection when new address entered you need to do next steps:
1. Clear AbanteCart cache
2. Clear browser cache
3. try again
For the Locations. Open you shipping method in admin there will be dropdown to select in what Location shipping will work. Default value is 'All Location', please select yours
Thank you Basara for your tips. Your solution to my issue works partially. I request you to kindly help me with these points. Please see these points below:
1. The shipping method settings in admin has to be Free Shipping method for location restriction to work. I selected that to test it. It works in such a way that, if user selects a restricted country in the drop down, user sees an error that "Shipping Option is not available. Please Contact store owner".
2. This is not working if Flat rate Shipping extension method is enabled. This extension does not have country specific restriction.
3. I need to show shipping rate in the Top Cart Box as well as view cart page etc.... These Two Extensions cannot be ON simultaneously. Either of these will only work at a time. So, If I enable in admin. default Free shipping extension, then Shipping rate is showing '0' in cart despite product settings has fixed rate price set to ON and amount saved in admin.
4. Also biggest drawback is that if Countries are disabled in Admin, it is disabling globally and won't show in drop-down for billing section. It would be great if, Billing section countries and Shipping section countries drop down is separately controlled and independently configured.
All these things put together, I needed better clear solution so that, the following are needed to be done in this way as below:
A. Restrict and not show those restricted countries in drop down for shipping and allow/show all countries for billing in the drop-down instead of disabling it globally in checkout Step 1 page.
B. Instead of location settings in Free shipping extension alone, "Default Flat rate Shipping Extension must include Country/Location settings.
Please let me know any other method or coding to acheive this.
Awaiting your reply and thanks
AVS