Hi everyone.
I’m running the Tyche template with woocommerce and Wordpress 4.9.4 on my website. I am trying to make a change to where the variation price is displayed. I have been able to do an add_action but my remove_action doesn’t remove anything so I’m ending up with it being displayed twice?
Website: https://www.nitram.com.au/shop/unicorn-kids-name-board If you select any variation the price comes up twice.
I have the follow code in the “my custom functions” plugin which works to add, not to remove?
remove_action( 'woocommerce_single_variation', 'woocommerce_single_variation', 10 );
add_action( 'woocommerce_before_add_to_cart_button', 'woocommerce_single_variation', 5 );
Any help on this would be awesome and much appreciated.
I have posted on the wordpress forum about this but was told it could be a template issue which is stopping it from being removed?