wordpress - Two Place Order Button in woocommerce Checkout page -


i having issue in checkout page. getting 2 place order button(click here). tried fix in form-checkout.php checked in form-pay.php, in wp-content/themes/mytheme/woocommerce/checkout.

i checked in wordpress forum got solution remove 2 checkout button cart page, there no solution problem

if ( ! defined( 'abspath' ) ) exit; // exit if accessed directly    global $woocommerce;    wc_print_notices();    do_action( 'woocommerce_before_checkout_form', $checkout );    // filter hook include new pages inside 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' ); ?>

go wp-content/themes/mytheme/woocommerce/checkout/view-order.php. in view-order.php remove id="payment" completle

this issue because of theme version


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -