Viewing 2 replies - 1 through 2 (of 2 total)
  • Stef

    (@serafinnyc)

    You can add this to your functions.php file in your Child theme

    
    add_filter( 'wc_empty_cart_message', 'custom_wc_empty_cart_message' );
    
    function custom_wc_empty_cart_message() {
      return 'Insert new text here';
    }
    
    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    Hi @adrenalin3,

    The code that Stef gave you should work correctly. However, if you don’t want to mess up with the code, and would rather do this through a Plugin, I’d suggest trying a translation plugin like Loco Translate.

    These type of plugins are more commonly used to change plugin text from one language to another, but they can also be used to edit strings of text within the same language.

    Hopefully one of these two options does it for you. I’m closing this thread now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Text ‘Checkout is not available whilst your cart is empty.’’ is closed to new replies.