WooCommerce Checkout Change “Ship To A Different Address” Heading

WooCommerce Checkout with cusotm Ship To A Different Address Heading

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

Based on your store location, some titles will say “Deliver” instead of “Ship”. Whatever your checkout says, you need to make your code say this. Replace as needed in order to customise the text for your WooCommerce store.

				
					add_filter( 'gettext', 'ecommercehints_change_ship_address_heading', 999, 3 );
function ecommercehints_change_ship_address_heading( $translated, $untranslated, $domain ) {
if ( ! is_admin() && 'woocommerce' === $domain ) {

      switch ( $translated ) {
         case 'Deliver to a different address?':   
            $translated = 'Send it somewhere else?';
            break;
      }
   }   
   return $translated;
}
				
			

Snippet Benefits

  • Customise the “Ship To A Different Address” title on the WooCommerce Checkout Page to meet your business needs.
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