What are you trying to do?
What are you trying to do?
20 years a Zencart User
I made my shop so that the only contry in the list is Denmark. and it worked really well. The i noticed the a custermer has managed to add an adress to the adressbook with out a country asigend, and therfor zencart asigned "223" as default country.
I Then made the dropdown for country hidden from the custmer. After this change on more custermer did the same.. HMMM how is that possible..
But I think if I can make zencart use country ID 57 insted of default 223 that can fixed the problem..
Denmark is selecked in Admin->custmer detali->defalult contry..
I rally hope some one can help my. an sorry for my bad english.
Site link www.petlife.dk/zen1
If your intention is to "only" sell to customers that reside in Denmark, then you should setup a zone with only Denmark in it and add that to your shipping module setup in the admin as the zoneI made my shop so that the only contry in the list is Denmark.
In that way any address that is not in Denmark will error upon checkout
https://www.zen-cart.com/tutorials/index.php?article=69
Zen-Venom Get Bitten
That list is built automatically from the countries and zones you've got set up in your Admin->Locations/Taxes menus. You should not be adjusting the code.
But, more than that, you need to indicate which version of Zen Cart you're using, and which payment module(s) you have enabled, and what exactly the "business problem" is that you're trying to solve.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.