Restricting shipping by state
If you ship within the United States, you may want to limit the states you ship your subscription products to.
This guide outlines how to restrict your shipping based on certain states and how to hide these states from your checkout.
- BigCommerce Checkout Integration
- Recharge Checkout on BigCommerce
If you are using Shopify Checkout Integration with Basic Shipping Rates, refer to Recharge's Shopify Shipping Profiles guide.
Step 1 - Edit your shipping zones
Recharge Shipping Zones and Rates
BigCommerce merchants and Shopify merchants using the Recharge Checkout can set up their shipping rates using Recharge Shipping Zones and Rates. Recharge Rates allow you to configure rates at a state level.
- Click Settings in your merchant portal and select Shipping.
- Under Shipping setup, select Use Recharge zones, rates and integrations (Advanced).
- Click Manage zones and select Add shipping zone.
- Search for the United States.
- Click the dropdown arrow to expand the list of states. Use the checkboxes to select which states you wish to ship to.
- Click Save zone.
Step 2 - Adjust Recharge Shipping settings
- In your merchant portal, click Settings and select Shipping.
- Scroll down to Advanced settings and select the setting Display an error if no matching shipping rate is found. This ensures that when customers attempt to purchase in an excluded state, they will be blocked.
Hide non-supported states from the checkout
Use CSS at the checkout to hide any extra states:
- On your store's checkout page, right-click on the state text field, and click Inspect. From the inspection window, you can locate the state and identify the following code for the corresponding state you want to hide from the list.
- Click Storefront in the merchant portal and select Checkout.
- In the CSS Editor textbox, enter the code and include the state you would like to hide.
select#checkout_shipping_address_province option[value="Alaska"] {
display: none;
}