• Resolved ma3ry

    (@ma3ry)


    My client would like to pre-approve orders before taking payment so I have removed all payment methods and now would like to change the text “Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements.”

    It was suggested in another post to add a plugin to do this but I prefer not to add a plugin for such a small change. Can you tell me please how or where I can change this text.

    Many thanks!

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

Viewing 4 replies - 1 through 4 (of 4 total)
  •   add_filter ( 'woocommerce_no_available_payment_methods_message', 'custom_no_available_payment_methods_message' );
      function custom_no_available_payment_methods_message( $message ) {
        return 'We would like to pre-approve orders whatever';
      }

    This snippet can go in functions.php for your child theme.

    Thread Starter ma3ry

    (@ma3ry)

    Perfect! Exactly what I needed! Thank you so much!

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @ma3ry

    I’m happy to hear that the snippet @lorro shared helped you solve your issues.

    I will be marking this thread as resolved. Should you have further inquiries, kindly create a new topic here.

    Thanks!

    Thread Starter ma3ry

    (@ma3ry)

    My apologies. I thought I had marked it as resolved. Much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Edit Text – Sorry, it seems that there are no available payment methods …’ is closed to new replies.