Looking at the way countries work it's not as simple as a check box to turn them all on and off again. It's not a list of countries that can be enabled and disabled, you would need to remove them all then manually add the ones you want to use back in.bonbec wrote: ↑Tue Aug 27, 2024 4:58 pm However, it lacks the possibility to uncheck or recheck everything at once.
By default, everything is checked. Which means that if I want to sell it only in one country or a small number of countries, I have to manually uncheck all the other countries, which is long to do (unless you know what you're doing and you do it in PhpMyAdmin for example, but not everyone knows how to do it).
In order to to disable and enable all using a checkbox you would need to add a status to each county (active/inactive) then code the activate/deactivate all button. Then you would need to identify anywhere that the countries table is called and change the way it looks up countries for selling to. Instead of checking if the users country exists in the table it would need to check it exists and if it is active. Could this be done with a hook? Maybe, but most likely it will be a lot of core code changes for @burt and the team making it not so much of a tiny optimisation.