[Resolved] Change Woo Commerce Check out button text

Home Forums Support [Resolved] Change Woo Commerce Check out button text

Home Forums Support Change Woo Commerce Check out button text

  • This topic has 3 replies, 2 voices, and was last updated 1 month ago by Ying.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2052209
    cpbee

    Dear Support team,

    is there a way to change the default Woo Commerce checkout button text? The German translation says “kostenpflichtig bestellen” – that does not apply to my check out procedure … I rather want to display: “Jetzt bestellen”

    Thanks for your help.

    Chris.

    #2052305
    Ying
    Staff
    Customer Support

    Hi Chris,

    Do you mean the Place order button on the checkout page?
    https://www.screencast.com/t/ZMBoAstzX4SN

    If so, here’s an Woocommerce PHP filter you can try:

    add_filter( 'woocommerce_order_button_text', 'yh_change_checkout_button_text' );
    
    function yh_change_checkout_button_text($button_text) {		
       return 'Jetzt bestellen';
    }

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    Let me know ๐Ÿ™‚

    #2052689
    cpbee

    Excellent, exactly what I was looking for.

    Thanks.

    #2053116
    Ying
    Staff
    Customer Support

    You are welcome ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.