WooCommerce Ship To A Different Address Checked And Open By Default

WooCommerce Checkout showing Ship to a different address section checked and open by default

Pre-Requisites

There are no pre-requisites in order for you to be able to implement this solution.

How To Implement This Solution?

Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.

About this Solution

This quick guide shows you how you can automatically open the Ship To A Different Address section of the WooCommerce checkout open by default.

				
					/**
* Snippet Name:     WooCommerce ship to a different address checked and open by default.
* Snippet Author:   ecommercehints.com
*/

add_filter( 'woocommerce_ship_to_different_address_checked', '__return_true' );
				
			

Snippet Benefits

  • Open the WooCommerce Ship To A Different Address form section by default.
WooCommerce Conversion Rate Optimisation (CRO) eBook
100 WooCommerce Conversion Rate Optimisation Tips

Leave a Reply

If you are going to write code in the comments, please wrap it between code tags.

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

Other Recent Guides

Subscribe To Emails

Get exclusive WooCommerce tips that I only share with email subscribers

Join hundreds of other subscribers