• Resolved Eliyahna

    (@eliyahna)


    I am trying to change the text on the “Place order” button to say “CONTINUE” instead. I have placed this on funtions.php:

    add_filter( ‘woocommerce_order_button_text’, ‘woo_custom_order_button_text’ );

    function woo_custom_order_button_text() {
    return __( ‘CONTINUE’, ‘woocommerce’ );
    }

    But the button text does not change. When I inspect the source, this is what I see:

    <button type=”submit” class=”button alt” name=”woocommerce_checkout_place_order” id=”place_order” value=”CONTINUE” data-value=”CONTINUE”>Place order</button>

    What can I do to make the text change? The theme is called ‘Honor’

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @eliyahna,

    Thank you for reaching out.

    I understand you’re trying to change the text on the “Place order” button to say “CONTINUE”.

    While our support scope does not cover customization requests, I’ll be happy to point you to this article that describes the process in detail.

    I hope this helps.

    Thread Starter Eliyahna

    (@eliyahna)

    Thanks I tried both of those and neither one worked. I guess I’ll have to ask the theme author since the regular methods aren’t working.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @eliyahna

    Do you use a checkout block or a shortcode on your checkout page? If you’ve added the checkout block, you can modify the text without any code. To do so, open the page in the editor and click on the button to change the text, as shown here.

    Just a friendly heads-up! Your code snippet won’t work if you’re using the checkout block. However, it will work perfectly if you add the checkout shortcode on the checkout page.

    I hope this helps! If you have any other questions, feel free to ask.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @eliyahna

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem!

    If you have further questions, please feel free to open a new topic.

    Thanks!

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