• Resolved tbo460

    (@thibotus01)


    Hi,

    I have Paypal button enabled on product pages, as well as Apple Pay, Google Pay…

    How to enable this type of button if I’m using Woocommerce blocks? Specially the “hand-picked products”.

    Is this customization that need to be done on the payment plugin or yours?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @thibotus01,

    If I understand correctly, you are wanting to add a paypal button on WooCommerce Products block so customers of your shop can click it to immediately purchase the specific product?

    If I’m correct, currently the only ways to do this is to customize existing blocks by overwriting their registration or if you are fine with using the new All Products block, you can create a new block for your payment button and use the registerInnerBlock api to make that button available as an inner block for each product in the All Products Block output. We don’t have complete documentation for this extensibility yet, but you can see an example of it being used in this code.

    Unfortunately, we can’t go into much more detail than that in this forum, but hopefully that is enough to get you started!

    Plugin Support Jessica G.

    (@jesscga)

    Automattic Happiness Engineer

    Hi there,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Paypal or any payment button’ is closed to new replies.