• How do I change the position? I want to show it a separate tab, I mean after woocommerce_after_single_product_summary.
    Can you help me proving the function hooks of the plugin?

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hello there,

    hope you are doing well! ??

    Please, add the following custom code in the functions.php of your active theme:

    remove_filter ( 'woocommerce_product_tabs', array( YITH_WooCommerce_Question_Answer::get_instance(), 'show_question_answer_tab' ), 20 );
    if (class_exists('YITH_WooCommerce_Question_Answer')){
        if (!function_exists('yith_ywqa_show_questions_and_answer')){
            function yith_ywqa_show_questions_and_answer(){
                $instance = YITH_WooCommerce_Question_Answer::get_instance();
                $instance->show_question_answer_template();
            }
            add_action ( 'woocommerce_after_single_product_summary', 'yith_ywqa_show_questions_and_answer' );
        }
    }

    I have added it into ‘woocommerce_after_single_product_summary’ action.

    Check it and let us know, please.

    Have a nice day!

    • This reply was modified 5 years, 6 months ago by YITHEMES.
Viewing 1 replies (of 1 total)
  • The topic ‘How do I change the position?’ is closed to new replies.