• Resolved Josh Willett

    (@joshwillett)


    Hi there,

    Is it possible to edit the output of the Payment Method Text please?

    For example, if they pay via Stripe, it can say:

    Payment Method: Stripe

    Is there a function/hook for that?

    Thank you so much.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Same here: Would like to know how to translate this string.

    • This reply was modified 3 years, 2 months ago by cutu234.
    Plugin Author WebToffee

    (@webtoffee)

    Hi @joshwillett @cutu234,

    Thanks for reaching out to us. Kindly use this code snippet in your active theme’s functions.php to alter the payment method text.

    PS: You can alter the code snippet according to your requirement.

    Not quite sure that this is what I meant. This snippet actually alters the name of the method, but not the label. Example:

    Payment method: Paypal

    This snippet changes “Paypal”, but I want to translate “Payment method”.

    Thank you.

    Plugin Author WebToffee

    (@webtoffee)

    Hi @cutu234,

    Thanks for getting back to us. Presently our plugin doesn’t offer any filters to alter the mentioned label. However, the string is fully translatable. Thanks for understanding.

    No, it is not. “Customer Note”, for example is found as:

    'cus_note' => 'Customer Note',

    in

    /includes/class-wf-woocommerce-packing-list.php

    This is NOT translatable, and it can’t be found in the language files.

    Maybe, I am missing somethig. Could you please provide information on how to translate it? The same is very likely true for “Payment method”. I can see the string in the data.translation_strings.php file, but how would I translate it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Payment Method Text’ is closed to new replies.