Hook move single variation price

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?

Hi there

Hope you are having a good day and thank you for your question
So, which one you would like to remove? top or bottom one? :slight_smile:

Colorlib Support Team

Hi thank you for the reply,

It is the bottom price I am trying to remove.

hey there
Please add this CSS in appearance - customize - additional CSS

.single_variation_wrap {
    display: none;

Colorlib Support Team

Thank you!!!

All sorted now :slight_smile:

Hello there,

I am glad the solution worked for you.
Please feel free to contact us again in the future regarding any other issues.

Best Regards,