Hi there,
The issue of webhooks to re-order woocommerce single product page is still not resolved, this is the code that I have used to place the price and add to cart BELOW the 2 text boxes:
This is the code I used, I want to move the 2 text boxes up, and have the price and add to cart below the text boxes.
add_action(‘woocommerce_before_single_product’, ‘avia_woocommerce_new_hooks_mod’);
function avia_woocommerce_new_hooks_mod() {
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_rating’, 10);
add_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_rating’ , 60);
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_price’, 10);
add_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_price’, 60);
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 30);
add_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 60);
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_meta’, 40);
add_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_meta’, 10);
}