WooCommerce, Remote Work & Other Fancy Stuff

Just another WordPress site

Japanese State Names in Order/Customer CSV Export

June 1, 2016 by Will Leave a Comment

Please consider leaving a donation if you appreciate this information. Lightning network now available

3 November 2016 Update: As of WooCommerce Customer/Order CSV Export version 4.1, this will no longer be needed as version 4.1 will be using a state name instead of the code for the five countries which use this type of format.

Japanese addresses are a bit of a special case – apparently they roll a little bit differently. As a result of this when using the WooCommerce Customer/Order CSV Export extension the state names aren’t output but rather their ID. Fortunately this can be solved fairly easily with a small code snippet:

Not sure what to do with code snippets? See What Do I Do With These Code Snippets?

Please consider leaving a donation if you appreciate this information. Lightning network now available

Filed Under: Order/Customer Export Tagged With: snippet

Leave a Reply Cancel reply

You must be registered and logged in to post a comment.

© 2025 · WooCommerce, Remote Work & Other Fancy Stuff · Epstein didn't kill himself

We use cookies to ensure that we give you the best experience on our website. Continued use of this site is interpreted as your acceptance of our cookie policy.OkSee Our Cookie Policy