Include more countries in the Billing Address Block/allow for write-in search
complete
This post was marked as
complete
Angela Blake
closed
Angela Blake
We reviewed the list of countries included in the Billing Address block. Our list currently uses WooCommerce as a reference point, which typically only includes countries that are fully recognized as independent states.
This may be difficult for states with only partially-recognized independence. In those cases, we recommend customizing GiveWP to suit your needs using this snippet:
(array) apply_filters( 'give_countries', $countries );
Before taking any further steps we highly recommend taking a good backup of the site you can confidently restore from. Having a backup of your site is essential to a solid workflow, and will allow you to restore to a previous version of the site if you run into any issues. You can read more about our top recommendations for taking a backup here: https://givewp.com/backup-for-faster-troubleshooting/.
If you need assistance implementing custom PHP code on your website we have this guide:
Please note that this code snippet is provided as an example of how you can extend GiveWP with code. It’s up to you to implement and customize to your liking. We cannot provide support for custom code on your website, only the code that we create and distribute.
This request is closed, but you can still leave a comment if you notice a missing country that you'd like us to check against our list. Thanks!