Very similar to the “Limit shipping to one State only“, this time we want to limit the Billing to only one state. An Australian client asked me to limit their sales to the South Australia state, but the same can be applied to US, UK and all the other countries that have states.

Only sell to one state – WooCommerce

// Only sell to South Australia

function sell_one_state( $states ) {
	$states['AU'] = array(
		'SA' => __( 'South Australia', 'woocommerce' ),

	return $states;

add_filter( 'woocommerce_states', 'sell_one_state' );


Leave a Reply