Best eLearning Membership and Training Site Agency Forums How Do I Get My Campus Setup Changing the Section Labels in WooCommerce Checkout

  • Changing the Section Labels in WooCommerce Checkout

  • James

    June 3, 2021 at 12:03 pm
    gamipress icon accept - 268 Site Points
    gamipress icon star - 0 Experience Points

    @mthwp2020 had asked about changing some of the text on the Woocommerce Checkout page. Specifically the ‘Billing Details’ to something less monetary… like ‘Contact Information’.

    I did find a php snippet that can be added to your child theme/

    here goes.

    //Change the 'Billing details' checkout label to 'Contact Information'
    function wc_billing_field_strings( $translated_text, $text, $domain ) {
    switch ( $translated_text ) {
    case 'Billing details' :
    $translated_text = __( 'Contact Information', 'woocommerce' );
    return $translated_text;
    add_filter( 'gettext', 'wc_billing_field_strings', 20, 3 );
Viewing 1 of 1 posts

Original Post
0 of 0 posts June 2018

No Time? Need Help, or You Just Want Everything Done For You...

You are in the right place.