I want to move the express checkout button

[ad_1]

Hi @maikelj1978

The following code snippet will accomplish what you’re looking for:

add_action('init', function(){
	remove_action('woocommerce_checkout_before_customer_details', ['WC_Stripe_Field_Manager', 'output_banner_checkout_fields']);
	add_action('woocommerce_review_order_before_payment', ['WC_Stripe_Field_Manager', 'output_banner_checkout_fields']);
});

I recommend using a code snippet plugin like the following to add that custom code: https://projectdmc.org/plugins/code-snippets/

You can replace the woocommerce_review_order_before_payment action with any other action that WooCommerce triggers on the checkout page to adjust the location of the buttons.

Kind Regards

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer