Opencart: disable all countries

opencartWhen you install opencart all countries are enabled.

If you want to disable them in one step, you need to:

  1. Go to your PHPMyAdmin
  2. Click the SQL tab
  3. On the left side under 'Recent tables' there should be an entry 'oc_country' or something like that, depending on what was entered during the installation process
  4. On the right side in the field under 'Run SQL query/queries on database [databasename]', enter the following command:
    'UPDATE oc_country SET status=0' (replace 'oc_country' with the appropriate name; see #3)
  5. Click the 'GO' button on the bottom-right
  6. All countries should be disabled.
  7. Enable the countries you need.

Izdelava spletnih strani ganesa.si

 

Izdelava spletnih strani ganesa.si