Woo: How to change CHECKOUT text button on Oxy Ultimate Woo Cart

29 May 2022

Fo those using Oxy Ultimate Woo Cart component, this is a snippet to change the text on the checkout button to anything you need.

This is courtesy of the developer and work perfectly, see original here


add_filter( 'gettext_woocommerce', 'ouwoo_checkout_button_text', 10, 3);
function ouwoo_checkout_button_text( $translated_text, $text, $domain ) {
  switch( $translated_text ) {
    case 'Checkout' : 
      $translated_text = "ENTER YOUR TEXT HERE";
  return $translated_text;

Was this article helpful?



Never miss new post again

Subscribe and get list of new posts in your inbox

Click to Copy