In this article, I will show you How to Change “Return to Shop” Button text in WooCommerce.

Copy below code and paste into theme function.php file.

add_filter( 'gettext', 'change_woocommerce_return_to_shop_text', 20, 3 );
function change_woocommerce_return_to_shop_text( $translated_text, $text, $domain ) {
    switch ( $translated_text ) {
        case 'Return to shop' :
        $translated_text = __( 'Return to Store', 'woocommerce' );
        break;
    }
    return $translated_text;
}

Have any doubt, then comment here!

Leave a Reply

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