WooCommerce Change “Billing & Shipping” Heading


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

If you’re building an eCommerce site for a pickup only shop, you’ll notice that the checkout form by default will have the H3 heading “Billing & Shipping” which is slightly erroneous and should instead just read “Billing”. This guide shows you how you can change this default “Billing & Shipping” heading text and replace it with just “Billing”. In this specific example, “Billing & Shipping” is replaced with “Billing Details”.

* Snippet Name: WooCommerce Change "Billing & Shipping" Heading On Checkout Page
* Snippet Author: ecommercehints.com

add_filter( 'gettext', 'ecommercehints_change_billing_shipping_heading', 10, 3 );

function ecommercehints_change_billing_shipping_heading( $translated, $untranslated, $domain ) {
if ( !is_admin() && $domain === "woocommerce" ) {
if ( $translated == 'Billing & Shipping' ) { // The exact text to replace (the existing heading)
$translated = 'Billing Details'; // The new text
return $translated;

Snippet Benefits

  • Change the “Billing & Shipping” heading text on the WooCommerce checkout form to “Billing” for a more accurate checkout if shipping is not an option.
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