Website Building » WooCommerce » How Do I Hide Ships to a Different Address in WooCommerce?

How Do I Hide Ships to a Different Address in WooCommerce?

Last updated on January 18, 2023 @ 1:58 pm

If you’re looking to hide WooCommerce ships to a different address, there are a few different ways you can go about doing this. One option is to use the ‘Hide Shipping Address’ plugin. This will let you hide the shipping address fields on the checkout page, and instead show a message that says the shipping address will be sent to the customer after the order is placed.

Another option is to use the ‘Shipping Address Cleanup for WooCommerce’ plugin. This will remove all of the unnecessary fields from the shipping address form, leaving only the necessary ones.

PRO TIP: If you are using WooCommerce to sell items that will be shipped to a different address than the one associated with your account, you may want to hide the shipping information from your account page. This can be accomplished by following the instructions in the article linked below. Please note that hiding the shipping information on your account page will not prevent your customer from seeing the shipping information on the checkout page.

If you don’t want to use a plugin, you can also add a bit of code to your functions.php file. Add the following:

function wc_hide_ship_to_different_address( $checked, $instance ) {
return false;
}
add_filter( 'woocommerce_ship_to_different_address_checked', 'wc_hide_ship_to_different_address', 10, 2 );

This will hide the ‘ship to a different address’ checkbox on the checkout page.

There are a few different ways that you can go about hiding WooCommerce ships to a different address. You can use a plugin, or you can add a bit of code to your functions. Whichever method you choose, make sure that you test it out on your site before making it live.

Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.