move button to bottom
-
I am trying to move the express button to “woocommerce_after_checkout_form”… this is what I have tried in child-themes functions:
function move_paypal_express_buttons() { $move_this = new AngellEYE_Gateway_Paypal(); global $move_this; if(class_exists('AngellEYE_Gateway_Paypal')){ remove_action( 'woocommerce_before_checkout_form', array( $move_this, 'checkout_message' ), 5 ); add_action( 'woocommerce_after_checkout_form', array( 'AngellEYE_Gateway_Paypal', 'checkout_message' ), 5 ); } } add_action('plugins_loaded','move_paypal_express_buttons');
but it is not working correctly…
can you throw me an assist with this please?https://www.ads-software.com/plugins/paypal-for-woocommerce/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘move button to bottom’ is closed to new replies.