• Hi,

    I’m using a plugin ‘Wocommerce Price Matrix’. It basically converts two variations into a grid/table format displaying the price for each variation combination instead of a drop down. After a bit of tweaking I’ve got it working.

    But the product short description is after the variations table… I’m guessing that it is to do with the template hooks? If I disable it from the product it’s back to being in the right order.

    Is there anyone that could have a scan over this code please and advise how I can switch them round?

    Thanks!

    /**
    * Product summary
    */
    add_action( ‘woocommerce_single_product_summary’, ‘wpm_variation_grid’, 25 );

    /**
    * WC Hooks
    */
    add_action( ‘wp_head’, ‘wpm_remove_wc_hooks’ );

    function wpm_remove_wc_hooks() {
    remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_price’, 10 );
    }

  • The topic ‘woocommerce price matrix – I want it after the product short description’ is closed to new replies.