../woocommerce/templates/single-product/add-to-cart
Заменяем 21-24 строку
<form class="cart" rel="nofollow" content="noindex" action="<?php echo esc_url( $product_url ); ?>" method="get">
<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>