Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #21352

    Hello,

    Is there any possibilities for me to change the position in single product page

    I want the woocommerce tab is below related product

    how to handle with that

    Thanks!

    Please tell me which file should I edit?

    #111478

    Hi Mr. Mask,

    Try going into config-woocommerce>config.php and changing:

    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );

    to

    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 30 );

    Regards,

    Devin

    #111480

    Hi,

    Thanks for the response

    I did like you said, but It’s doesn’t work.

    Now my woocommerce tab is gone

    #111481

    Well,

    I solved it myself

    for another guys who need this, hope this help

    find

    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );

    replace with

    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 40 );

    #111483

    Glad you were able to get it figure out:)

    I think I mis-clicked when I was copying the second part as my solution doesn’t make sense but yours is what I intended (moving the importance via order change).

    Regards,

    Devin

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

The topic ‘woocommerce tab below related product?’ is closed to new replies.