• Resolved sknzl

    (@sknzl)


    Hey, I was wondering if it is possible to place content below the paypal express checkout button.
    To put content below the add to cart button would be something like this

    
    add_action( 'woocommerce_after_add_to_cart_button', 'content_after_addtocart_button' );
    
    function content_after_addtocart_button() {
    echo 'content';
    }
    

    However the content shows up between the add to cart and paypal checkout button.
    Is there a hook for content below the paypal checkout button?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Hari Shanker R

    (@harishanker)

    Hi @sknzl

    I just went through the plugin code, to see if I could find a hook you could use, but couldn’t find any that is specific to the PayPal checkout button.

    As per this visual hook guide it look slike you could use the woocommerce_product_meta_start hook instead of the woocommerce_after_add_to_cart_button hook, to place any content below the add to cart button.

    This should work in meeting your requirements. Let us know how that went!

    Plugin Support Grigorij S. a11n

    (@grigaswp)

    Hi there,

    We haven’t heard from you in a while so I’ll be marking this thread as resolved.

    Feel free to open a new thread and link to this one if you have further questions though.

    Have a wonderful day ahead!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘place text below paypal button’ is closed to new replies.