disable_remove_country_name_in_opencart

How to disable all countries and only allow India – OpenCart 3

Note:
Status = 0 [Means Disable]
Status = 1 [Means Enabled]

Login to phpmyadmin

Select your Database.

Click on SQL Tab and Run this code:

UPDATE ocdemo_country SET status = 0 WHERE country_id <> 99;
UPDATE ocdemo_zone SET status = 0 WHERE country_id <> 99;

“ocdemo_” is database prefix. Change according to your installed OpenCart database prefix.

India Position in OpenCart Country List – “99”.