Title: Set default state
Last modified: March 28, 2022

---

# Set default state

 *  Resolved [santiagouzal](https://wordpress.org/support/users/santiagouzal/)
 * (@santiagouzal)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/set-default-state/)
 * Hello! How are you? I need to set a single state at checkout. It is automatically
   pre-selected. My country is “Argentina” and all the provinces are in state and
   I just want you to be able to place orders from “Buenos Aires”. How should I 
   do so that only Buenos Aires appears, and then hide it through css so that the
   buyer does not see it, simplifying the purchase process? Thank you!!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [con](https://wordpress.org/support/users/conschneider/)
 * (@conschneider)
 * Engineer
 * [4 years, 2 months ago](https://wordpress.org/support/topic/set-default-state/#post-15501618)
 * Hi [@santiagouzal](https://wordpress.org/support/users/santiagouzal/),
 * >  I just want you to be able to place orders from “Buenos Aires”.
 * WooCommerce has no built in feature for this. To my knowledge you will need to
   use custom code. I did some research for you and this looks promising: [https://stackoverflow.com/questions/45444618/woocommerce-pre-select-and-restrict-to-one-state-and-city-on-checkout](https://stackoverflow.com/questions/45444618/woocommerce-pre-select-and-restrict-to-one-state-and-city-on-checkout)
 * Kind regards,
 *  [MayKato](https://wordpress.org/support/users/maykato/)
 * (@maykato)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/set-default-state/#post-15525489)
 * Hi [@santiagouzal](https://wordpress.org/support/users/santiagouzal/)
 * We’ve not heard back from you in a while, so I’m marking this thread as resolved.
   If you have further questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Set default state’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [MayKato](https://wordpress.org/support/users/maykato/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/set-default-state/#post-15525489)
 * Status: resolved