Post by MugMan » Mon Apr 17, 2017 2:38 am

Higher
Is there a fast way to remove/disable all shipping zones/countries but leave UK ?

Thank you.

New member

Posts

Joined
Sat Mar 18, 2017 3:45 pm

Post by thekrotek » Tue Apr 18, 2017 4:30 am

If you're not afraid to use PHPMyAdmin, you can simply set "status" field value to 0 for all countries and zones. Then go to admin, enable only UK and its zones. That's it.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by IP_CAM » Tue Apr 18, 2017 5:29 am

another easy way would be, to set the 'Default Items Per Page' (Admin): Display to 1'000,
then, you could bulk-remove everything not needed with a few simple Clicks! :D
Just make sure, to have NO data active, linked to a unused Country or Zone, otherways, it would
not remove such settings. And you have to start with ZONES, as I recall, to remove Countries
afterwards. BUT THEN, you also have to clean out / disable the TAX Sections first, or then, you cannot
clean out Zones... ::)
It will kill somewhere around 4'000 DB Lines, so, it a good reason to do it, if one does not use many Countries.
Just make sure, not to remove your own Country and Zones, or you have to create them again ! :D
Good Luck!
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by MugMan » Tue Apr 18, 2017 5:40 am

Thank you

New member

Posts

Joined
Sat Mar 18, 2017 3:45 pm
Who is online

Users browsing this forum: No registered users and 69 guests