• Hello,

    I am running the latest version of Woocommerce with a the Woocommerce Customizr plugin. I only have the Paypal payment option enabled and now my order submit button on the checkout page says ‘Proceed to PayPal’ and I have updated it to ‘Proceed to Payment’ via the Customizr but it only seems to change for the first split second and then Woocommerce overwrites it.

    How can I change it so that it doesn’t overwrite it or update the text to what I need?

    Thank you in advance.

    Regards,
    Jhorene

    https://ww.wp.xz.cn/plugins/woocommerce/

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

    I’m not running the Customizr plugin, but this is how I was able to do it without a plugin:

    1. Open an FTP session and go to wp-content/plugins/woocommerce/templates/checkout

    2. Download payment-method.php

    3. Open it in a text editor and go to line 15. At the very end of the line, you should see:
    data-order_button_text="<?php echo esc_attr( $gateway->order_button_text ); ?>"

    4. Erase everything between the quotation marks and replace it with your custom button text

    5. Save the new version of the file (keeping the name payment-method.php)

    6. Upload it to wp-content/themes/[your theme]/woocommerce/checkout

    Note: If you don’t have a woocommerce folder in your theme folder, you must create one. If you don’t have a checkout folder within [your theme]/woocommerce, you must create one.

    The new file should override the core file, even if the core file is updated. I recommend putting comments in your custom payment-method.php file so that, in the future, you can easily find the part you changed.

    Thread Starter jkpvs14

    (@jkpvs14)

    Hello Eric,

    Thank you so much for replying on my message and your detailed steps. It worked 100%!!!

    I really appreciate it.

    Kind regards,
    Jhorene

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

The topic ‘Order Submit Button Label NOT updating’ is closed to new replies.