'Move additional information from product tab under add to cart button in WooCommerce

In single product pages, I would like to change the location of "additional information" from tabs, under add to cart button using Woocommerce hooks (removing the "additional information" tab).

I have:

add_action( 'woocommerce_product_additional_information', 'wc_display_product_attributes', 10 );

and: woocommerce_after_add_to_cart_button

I'm trying:

remove_action( 'woocommerce_product_additional_information', 'wc_display_product_attributes', 10 );

add_action( 'woocommerce_after_add_to_cart_button', 'woocommerce_product_additional_information' );

and

remove_action( 'woocommerce_product_additional_information', 'wc_display_product_attributes', 10 );

add_action( 'woocommerce_single_product_summary', 'woocommerce_product_additional_information', 60 );

But it doesn't work.

How can I move properly "additional information" below add to cart button?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source