Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1351780

    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);
    }

    #1351804

    Hey Silvio,
    We see this is a duplicate thread, I have replied to your original thread, please check.

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Woocommerce webhooks stopped by Enfold – still not resolved’ is closed to new replies.