Using 1.5.7b
Website not in operation yet
Initial install and config stage
Is there a fast way to remove all those annoying countries? I need 1 country, not 250 and it's pretty tedious removing them 1 at a time. Thank you
Printable View
Using 1.5.7b
Website not in operation yet
Initial install and config stage
Is there a fast way to remove all those annoying countries? I need 1 country, not 250 and it's pretty tedious removing them 1 at a time. Thank you
so...
No one from Canada, Australia, Great Britain, Germany, Italy or any of those other countries would ever want to buy your product and ship it to the Toad Guy in Albuquerque? Or maybe a grandma in Singapore wants scorpions removed at her grandbaby's house.
Surely, you have one image that takes up more room than all that data?
Reminds me of a friend years ago. He stumbled on fonts and decided he didn't like to use anything but Times New Roman. His decision to remove all the others reminds me of your request. Probably would have close to the same results.
There's so many things that can go wrong by dropping countries and things that can go right by keeping them.
Not knowing enough about your business plan, I'd say leave well enough alone.
One country. No need for grandma in Brittan business. When Countries become as needed as various fonts, maybe I'll reconsider, but in the next 100 years or so I don't see that as happening. I ship only within one country, collect taxes in only one country and if somebody from somewhere else wants to buy for somebody this country, they can pay the appropriate taxes and shipping to that "in country" shipping address. No need for any other country.
If you're using v1.5.7b or newer, then in the time it took to write these 2 posts you could have clicked the green Status icon for each country to disable them all. The list scrolls up every time you click one, meaning it's super fast to exclude countries you don't want to support.
You could also write a db query to update the status field to 0 on all countries in the database and then toggle on only the ones you want to support. But again, using the Admin to click them all off is faster than even writing the query.
That's a good one Dr., and you're spot-on with the time considerations. Of course, considering the amount of time it takes on a forum to discover a solution I was able to complete what needed to be done, but this is valuable for the next time I hose the install and redo it. Well received, thank you.
This page is probably the simplest of all the admin pages. Nothing much to "go wrong" with it.
/admin/countries.php
But, if these basic things aren't working with it then:
- every customization you've made to the admin, or non-admin functions and classes, is suspect
- every plugin that touches/adds any admin files, or non-admin functions and classes, is suspect
- every alteration to input sanitization is suspect