Checkout

WooCommerce Change “Place Order” Button Text

WooCommerce Checkout form showing customised Place Order button text

Pre-Requisites

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

Sometimes, it may be necessary to change the default “Place Order” button text on the WooCommerce Checkout form. Some payment gateways overwrite this text anyway with their own text which is easy enough using a PHP if statement. However, if you have the basic settings set, this quick guide will show you how you can change the button text to anything you deem necessary.

/**
* Snippet Name:     Change the WooCommerce Place Order checkout button text.
* Snippet Author:   ecommercehints.com
*/

add_filter( 'woocommerce_order_button_text', 'ecommercehints_checkout_button_text' );

function ecommercehints_checkout_button_text( $button_text ) {
   return 'Get The Goods!'; // new text is here
}

Snippet Benefits

  • Customise the Place Order text on the WooCommerce checkout form to anything you like

100 WooCommerce Conversion Rate Optimisation Tips

This field is for validation purposes and should be left unchanged.

Let’s collaborate!

Need to outsource WordPress development?

Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.

First Timer Here?

Sign up to receive 20% off on your first month with us.

26027
WELCOME OFFER