Black Friday & Cyber Monday SUPER SALE ALL WEEK:
Grab 40% OFF on plugins
Days
Hours
Minutes
Seconds

How to Change the Shipping “Billing Details” Heading in WooCommerce Checkout?

If you want to customize the label name of “Billing details” on the WooCommerce checkout page, the following code snippet will replace the label “Billing details” with “Shipping Address.”

function ts_change_billing_details_label($translated_text, $text, $domain) {
    // Check if the text domain is "woocommerce"
    if ($domain === 'woocommerce') {
        // Replace "Billing details" with your desired label
        if ($text === 'Billing details' || $text === 'Billing details') {
            $translated_text = 'Shipping Address';
        }
    }
    return $translated_text;
}
add_filter('gettext', 'ts_change_billing_details_label', 20, 3);
add_filter('ngettext', 'ts_change_billing_details_label', 20, 3);
custom order status block cta

Need a flexible way to manage your order status?

Custom Order Status Pro for WooCommerce helps you create & manage custom order statuses within the WooCommerce order status dashboard and organize the order better using the custom icons and labels to efficiently increase the workflow.

Apart from organizing the orders, you can send notifications to customers and admins when the order status changes.

Output

The below output shows that the shipping heading label is changed from “Billing Details” to “Shipping Address” on the WooCommerce checkout page.

How to Change the Shipping "Billing Details" Heading in WooCommerce Checkout?

Similar to the above customization you can also change ship to a different address title WooCommerce that will provide a clear and understandable name to the “Shipping Details” heading as well.

Browse more in: Code Snippets, WooCommerce How Tos, WooCommerce Tutorials

Share It:

Subscribe
Notify of
0 Comments
Newest
Oldest
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x