Title: Country data
Last modified: May 9, 2023

---

# Country data

 *  Resolved [webcart](https://wordpress.org/support/users/webcart/)
 * (@webcart)
 * [3 years ago](https://wordpress.org/support/topic/country-data/)
 * Hi,
   I export the users from a woocommerce website but the “country” column is
   empty.I edit the user data and can see that the country is there but not in the
   export file.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/country-data/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/country-data/page/2/?output_format=md)

 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16722651)
 * The meta key for this is billing_country and shipping_country and include the
   iso code of the country.
 *  Thread Starter [webcart](https://wordpress.org/support/users/webcart/)
 * (@webcart)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16722769)
 * billing_country and shipping_country columns appear in the CSV files but are 
   empty as well.
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16722772)
 * If they are empty the user has no country associated.
 * Maybe you have countries associated to order but users has not filled it in my
   account.
 *  Thread Starter [webcart](https://wordpress.org/support/users/webcart/)
 * (@webcart)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16722798)
 * In the user edit screen, the Country/Region under **Customer billing address**
   is empty.
   I guess this is the field you export to the file and therfor I could
   not see any data?The country I have in the user edit is under **Extra profile
   information**
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16722805)
 * I export all.
 * If you are using WooCommerce you should fill billing_country and shipping_country.
 *  Thread Starter [webcart](https://wordpress.org/support/users/webcart/)
 * (@webcart)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16722865)
 * The woocommerce in this site is not for orders but for catalog so the users registration
   forms is not from woocommerce.
   In the “Regular” user data (user-edit.php) I can
   see the country field under **Extra profile information** so I wonder why it’s
   not exported.
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16722871)
 * It should be exported… are this saved as meta in usermeta table?
 *  Thread Starter [webcart](https://wordpress.org/support/users/webcart/)
 * (@webcart)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16722917)
 * It’s data comes from Formidable form and there is some ACF involved but I can
   see the country in the user edit under **Extra profile information**
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16722927)
 * Not sure where those plugin saves their data.
 * This plugin and every user plugin by default read only from wp_users and wp_usermeta
   the default table.
 * If they are not there, we have to create a new addon to make it possible (as 
   we have done for example for BuddyPress).
 *  Thread Starter [webcart](https://wordpress.org/support/users/webcart/)
 * (@webcart)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16722942)
 * I understand.
   Ok. I will dig into thoses tables to check it.Thanks for now.
 *  Thread Starter [webcart](https://wordpress.org/support/users/webcart/)
 * (@webcart)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16726817)
 * Hi,
   I found the country cell in the WP_USERMETA table with “United States” but
   in the CSV file I exported the “Country” is empty.
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16726866)
 * Could you show me an example?
 *  Thread Starter [webcart](https://wordpress.org/support/users/webcart/)
 * (@webcart)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16726916)
 * Sure.
   [https://file.io/ckEHaZgnKllA](https://file.io/ckEHaZgnKllA)
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16727668)
 * If it appears there, it should appear in the export.
 * Do not include any filter and leave the column field empty to export all.
 * It should appear there. If not… there are some particular problem in your installation
   that I cannot solved from here.
 *  Thread Starter [webcart](https://wordpress.org/support/users/webcart/)
 * (@webcart)
 * [3 years ago](https://wordpress.org/support/topic/country-data/#post-16729175)
 * Hi,
   I did not filter anything.I will try to to investigate it on a dev site.Will
   keep you updated.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/country-data/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/country-data/page/2/?output_format=md)

The topic ‘Country data’ is closed to new replies.

 * ![](https://ps.w.org/import-users-from-csv-with-meta/assets/icon-256x256.png?
   rev=1174343)
 * [Import and export users and customers](https://wordpress.org/plugins/import-users-from-csv-with-meta/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/import-users-from-csv-with-meta/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/)
 * [Active Topics](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/reviews/)

## Tags

 * [country](https://wordpress.org/support/topic-tag/country/)

 * 16 replies
 * 2 participants
 * Last reply from: [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/country-data/page/2/#post-16729519)
 * Status: resolved