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

How to Customize the “Proceed to Checkout” Button Text in WooCommerce?

Looking to customize the “Proceed to Checkout” button text on the cart page, then this snippet will help you to customize the button.

// Change button text
function ts_change_proceed_to_checkout_text($translated_text, $text, $domain) {
    if ($text === 'Proceed to checkout') {
        $translated_text = 'Go to Checkout'; // Change to your desired text
    }
    return $translated_text;
}

add_filter('gettext', 'ts_change_proceed_to_checkout_text', 20, 3);

Output

The below output shows that the wording on the button “Proceed to checkout” button gets changed to “Go to Checkout” on the WooCommerce cart page.

How to Customize the "Proceed to Checkout" Button Text in WooCommerce? - Tyche Softwares

Instead of just customizing the text, you can also Customize the “Proceed to Checkout” button in WooCommerce cart. This customization enables store owners to match the checkout button’s appearance with their brand colors and overall design theme.

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