Restrict Sales to Specific U.S. States in WooCommerce

Limit the U.S. states in which your WooCommerce website sells. This lets you restrict sales to only certain states.

This post shows you how to include only specific states that can purchase from your WooCommerce website. The code below is a modified version that includes a full list of U.S. states. To limit sales to customers in specific states, remove the states you do not want to sell to, making the list consist only of states you will sell to.

About author

Love coding, crazy about logic, like solution architecting and solving problems. Thirsty for knowledge, challenges & most importantly innovation. One of the passionate brain behind SpryOX

Leave a Reply

Your email address will not be published. Required fields are marked *