Change woocommerce product addons position in the product page
For anyone wanting to do this outside of the plugin, to future proof this from updates, you can use the global var in place of the $this add_action( ‘woocommerce_after_add_to_cart_button’, array( $GLOBALS[‘Product_Addon_Display’], ‘display’ ), 10 ); add_action( ‘woocommerce_before_add_to_cart_button’, array( $GLOBALS[‘Product_Addon_Display’], ‘totals’ ), 20 );