Two Place Order Button in woocommerce Checkout page

I am having Issue in my checkout page. I am getting Two Place order button(click here). I tried to fix it in form-checkout.php even I checked in form-pay.php, in wp-content/themes/mytheme/woocommerce/checkout.

I checked in wordpress forum I got solution to remove two checkout button from cart page, there is no solution for my problem

Read More
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

global $woocommerce;

wc_print_notices();

do_action( 'woocommerce_before_checkout_form', $checkout );

// filter hook for include new pages inside the payment method
$get_checkout_url = apply_filters( 'woocommerce_get_checkout_url', WC()->cart->get_checkout_url() ); ?>

<form name="checkout" method="post" class="checkout" action="<?php echo esc_url( $get_checkout_url ); ?>">

	<?php if ( sizeof( $checkout->checkout_fields ) > 0 ) : ?>

		<?php do_action( 'woocommerce_checkout_before_customer_details' ); ?>

		<div class="row" id="customer_details">

			<div class="col-md-6">

				<?php do_action( 'woocommerce_checkout_billing' ); ?>

			</div>

			<div class="col-md-6">

				<?php do_action( 'woocommerce_checkout_shipping' ); ?>

			</div>

		</div>

		<?php do_action( 'woocommerce_checkout_after_customer_details' ); ?>

		<h3 id="order_review_heading"><?php _e( 'Your order', 'woocommerce' ); ?></h3>

	<?php endif; ?>

	<?php do_action( 'woocommerce_checkout_order_review' ); ?>

</form>

<?php do_action( 'woocommerce_after_checkout_form' ); ?>

Related posts

2 comments

  1. Go to wp-content/themes/mytheme/woocommerce/checkout/view-order.php. In View-order.php remove id=”payment” completle

    This issue is because of theme version

  2. Please check your configuration in your WordPress admin.
    Woocommers->settings on the Payment Tab check your information details if you have miss an HTML tags.

    I have experience on this when I customized or add some html tags on the details text area with closing “div” tag.

Comments are closed.