Support » Fixing WordPress » Unable to change “place order” text

  • Resolved samuelbeaubien


    Hey guys, I tried to change the text for the Place Order button on the checkout page and was not able to! This is a recap :
    My wordpress front and back end are in french
    My site is 100% in french except the order review part of the checkout page
    When I edit the page in Elementor, I see it Ok in french : Payer
    When I refresh the live page, I see it in french for a second then it loads in english.
    I tried this code snippet : add_filter( ‘woocommerce_order_button_text’, ‘wpglorify_rename_place_order_button’ );

    function wpglorify_rename_place_order_button() {
    return ‘PAYER ‘;
    I tried to locate the string of text using loco translate
    I searched : All core pluggins, woocomerce and theme for the “place order” string and translated it everywhere it was not already.
    I tried to create a custom checkout page using CartFlows pluggin.
    There is a setting specificaly for the text on that button. It shows Ok in french in Elementor but always loads the english “Place order”

    Does any of this ring a bell to one of you guys? Is is overwritten by my theme maybe? I do not know what to try anymore!
    Thank you in advance

    The page I need help with: [log in to see the link]

Viewing 2 replies - 16 through 17 (of 17 total)
Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Unable to change “place order” text’ is closed to new replies.