Post by SelfSus » Wed Sep 11, 2013 11:34 pm

Guys, is it possible to remove/disable all country option except for a single one.

We sell only in ZA and do not intend to export. At least not in the near future. It would be great if we can just have South Africa as the only option.

Is it possible? and How?
Last edited by SelfSus on Thu Sep 12, 2013 2:22 pm, edited 2 times in total.

Selfsustainable farmer living the dream. http://www.livingseeds.co.za


User avatar
Active Member

Posts

Joined
Fri May 27, 2011 8:40 pm
Location - ZA

Post by Qphoria » Thu Sep 12, 2013 12:37 am

System->Settings->Option tab
Default Items Per Page (Admin): 300
Save

System->Localisation->Countries
Check all
Uncheck South Africa
Delete

System->Settings->Option tab
Default Items Per Page (Admin): 25
Save

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by SelfSus » Thu Sep 12, 2013 2:02 pm

Q, you are a legend!

Thank you.

Selfsustainable farmer living the dream. http://www.livingseeds.co.za


User avatar
Active Member

Posts

Joined
Fri May 27, 2011 8:40 pm
Location - ZA

Post by SelfSus » Thu Sep 12, 2013 2:20 pm

Err Q.

Throws out this error.

Warning: This country cannot be deleted as it is currently assigned to 10 zones!

So I thought Cool! let me go and delete the zones first. Only problem, you can't delete a zone if there is an address assigned to it already. And it does not tell you which one is the offending zone/address.

Selfsustainable farmer living the dream. http://www.livingseeds.co.za


User avatar
Active Member

Posts

Joined
Fri May 27, 2011 8:40 pm
Location - ZA

Post by skip » Sat Jul 21, 2018 11:20 pm

Warning: This country cannot be deleted as it is currently assigned to 10 zones!
what does this mean, I cannot delete countries

Active Member

Posts

Joined
Mon May 09, 2011 9:57 pm

Post by IP_CAM » Sun Jul 22, 2018 1:41 am

Removing Countries is only ONE of TWO changes, one then better also
removes all Zones FIRST, related to the Countries removed. It so also removes
a few thousand of never ever used Database Lines + Content as well!
And if some Countries canNOT be removed, then, because they are still LINKED
to something, like Zones, Customers and/or Sales. One then needs to either delete
or change such Values in the corresponding Sections, to be able to delete
the Country / Zone / Currency / e.t.c. involved.
Good Luck!
Ernie

I'm rarely still active at the OC Forum. To reach me, contact: jti@jacob.ch
A Demoversion of my free OpenCart LIGHT v.1.5.6.5 Software Edition
can be seen in real Action here: http://www.jti.li/shop/
---
1'000+ FREE OC Extension-Repositories - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
---
Image


User avatar
Legendary Member

Posts

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

Users browsing this forum: No registered users and 65 guests