Menu Close

Change Place Order Button Text – Woocommerce checkout Page

Change Place Order Button Text - Woocommerce checkout Page

Converting the Place Order button text to custom message could possible get a small increase in sales conversion. You can try the below 4 lines of PHP code, even if you don’t know coding. Just copy and paste the snippet code in your active theme function.php file.

PHP Snippet 1: Rename “Place Order” Button – WooCommerce Checkout
add_filter( 'woocommerce_order_button_text', 'codeamend_rename_place_order_button', 9999 );
  
function codeamend_rename_place_order_button() {
   return 'Continue To Buy'; 
} 

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

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

add_filter( 'woocommerce_order_button_html', 'codeamend_rename_place_order_button', 9999 );
  
function codeamend_rename_place_order_button() {
    return '<button type="submit" class="button alt" name="woocommerce_checkout_place_order" id="place_order" value="CONTINUE" data-value="CONTINUE">CONTINUE</button>';
} 
Posted in WooCommerce

You can also read...