I tried it using your test card number. The pointer changes to a clickable hand, but like you said, nothing happens.
It’s possible this is a test-tool bug and not a site bug? But with it happening for other options too, I guess not. I’m not getting any error messages.
I’m new so am not useful here, but can verify that it’s happening.
The links on the bottom of the page aren’t working either. Is the URL set correctly everywhere. Sorry, that’s all I have.
Thread Starter
Ibby
(@ibby)
@genesisgallery
Thank you very much for having a look. The footer links are not coded to link anywhere just yet. Thanks for confirming it’s not just me!
I tested across four browsers and it’s really left me scratching my head. It’s a pretty standard setup but I might try cleaning out my functions.php and see if it’s one of the scripts I have in there.
I must say I’ve never encountered this with WooCommerce before. Very odd behaviour indeed.
Thread Starter
Ibby
(@ibby)
Ok, so, it turns out, WC seems to really dislike moving the coupon field. I used the following hook in my functions.php to move the coupon code field to after the customer details:
// Add coupon code area above order total, old section hidden via CSS
remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form', 10 );
add_action( 'woocommerce_checkout_after_customer_details', 'woocommerce_checkout_coupon_form' );
As soon as I add this, the button breaks. I have a feeling this is because my code isn’t removing the original coupon form for some reason even though the remove_action is targeting it correctly…
I presume this is because it now thinks there are two coupon code fields and so the fom script breaks.
I’ve removed the snippet for now and it is working fine! Now to try and work out why exactly this is happening….