IDSTORE: Change Text On PayPal Checkout Button

Solved3 replies3 participantsUpdated by Rose Tyler

  • Avatar: Pauly_Plymouth
    Paul
    Participant

    Hello.
    To pass an eCommerce audit, we need to change the text of the PayPal button in the checkout.
    We found a php script online that advises to add it to the functions.php file, but this
    did not work.
    Can you kindly advise us if you have a code to change the paypal button text, and
    where in the theme do we need to add the code please?
    Many thanks.

    3 Answers

    Avatar: maxmullins
    Max Mullins
    Participant

    Hello @Paul
    If you would like to change wording from “English to English” you may open woocommerce.pot translation file that lays within wp-content/woocommerce/in18n/woocommerce.pot with text editor and search for string “proceed to paypal”. Then resave file and upload it to ftp with overwriting. Please note that it can be rewrited during next woocommerce plugin update. And you should use child theme for such method to prevent your code from overwriting.

    Regards
    Max Mullins

    Avatar: Pauly_Plymouth
    Paul
    Participant

    Thank you, that is great.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    You’re welcome!

    Regards,
    Rose Tyler.

The issue related to '‘IDSTORE: Change Text On PayPal Checkout Button’' has been successfully resolved, and the topic is now closed for further responses