Viewing 4 replies - 1 through 4 (of 4 total)
  • @ttn – sorry for the late response here!

    The likely reason you’re having an issue removing that action is because it’s located within a class. As you may know, removing or adding an action within a class can be a trick all on its own.

    I’ve tried several different methods, but have been unable to move this without affecting the entire checkout page. As this will differ by theme (likely at least), I can’t offer a 100% fool proof suggestion.

    If you’re interested in what I did to make these changes, I chose to attempt to override the templates for PayPal Checkout checkout in my child theme. While this didn’t work great for me, you’re more than welcome to give it a try.

    Additionally, have you considered overriding the full WooCommerce checkout page? Doing this, you should be able to completely adjust where the payment details are located, which may or may not give you the results you’re looking for.

    Let me know if you have any other questions! ??

    – Joey

    Thread Starter ttn

    (@ttn)

    Hi, thank for your response.
    If I just want to delete display_paypal_button action.
    Can I do that?
    Is it possible or not?

    // We only work with filter hooks, no override.

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hey @ttn

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the following places for more development-oriented questions:

    1. WooCommerce Customization options: https://woocommerce.com/customizations/
    2. WooCommerce Slack Community: https://woocommerce.com/community-slack/
    3. WooCommerce FB group: https://www.facebook.com/groups/advanced.woocommerce/
    Thread Starter ttn

    (@ttn)

    Thank you, i’ll try.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove action display_paypal_button?’ is closed to new replies.