Hi again,
I removed this code from the end of wc-external-product-new-tab.php. The second button is gone and everything seems to work fine. Can this cause any other problem? I guess that the remove function of old button for some reason doesn’t work?
do_action( ‘woocommerce_before_add_to_cart_button’ ); ?>
<p class=”cart”>
” rel=”nofollow” class=”single_add_to_cart_button button alt” target=”_blank”><?php echo esc_html( $button_text ); ?>
</p>
<?php do_action( ‘woocommerce_after_add_to_cart_button’ );
Have a great day!
/Daniel