Menu Close

WooCommerce: Rename “Place Order” Button @ Checkout

default

The “Place Order” button is the call to action you want ALL customers to take, right? Well, changing its label to a more specific, custom message could mean a small increase in sales conversion.

Thankfully, you can try this with as low as 4 lines of PHP, even if you don’t know coding. Just copy and paste the snippet by following the instructions below and give your unique store a unique checkout message 🙂

WooCommerce: rename Place Order button label @ Checkout

PHP Snippet Alternative 1: Rename “Place Order” Button @ WooCommerce Checkout

/**
 * @snippet       Rename "Place Order" Button @ WooCommerce Checkout
 * @how-to        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli
 * @compatible    WooCommerce 6
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */
 
add_filter( 'woocommerce_order_button_text', 'bbloomer_rename_place_order_button', 9999 );
 
function bbloomer_rename_place_order_button() {
   return 'Continue'; 
}

PHP Snippet Alternative 2: Rename “Place Order” Button @ WooCommerce Checkout

If the above snippet doesn’t work – try this one. Please note: you have to enter your button name in 3 places, see below in ALL CAPS.

/**
 * @snippet       Rename "Place Order" Button @ WooCommerce Checkout ALT
 * @how-to        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli
 * @compatible    WooCommerce 6
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */
 
add_filter( 'woocommerce_order_button_html', 'bbloomer_rename_place_order_button_alt', 9999 );
 
function bbloomer_rename_place_order_button_alt() {
   return '<button type="submit" class="button alt" name="woocommerce_checkout_place_order" id="place_order" value="CONTINUE" data-value="CONTINUE">CONTINUE</button>';
}
View Source
Posted in WooCommerce Tips