Support » Plugin: Custom Product Tabs for WooCommerce » Put tab inside

  • Resolved jirodearmas

    (@jirodearmas)


    How can I put the tab inside the <div class=”summary entry-summary”> and just below the product title

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @jirodearmas,

    The placement of your tabs is controlled by WooCommerce. We pass the tab data into WooCommerce’s existing tab structure and they create the front end display.

    Having said that, we could also leverage WooCommerce’s hooks/filters to output custom tab content into that area. However, we can’t “move” the tab from it’s current position.

    Let me know what you’d like to do.

    Cheers,
    Kevin.

    Thread Starter jirodearmas

    (@jirodearmas)

    I managed to put the tabs where I want it to using woocommerce hooks, thanks! this one helped me:
    https://businessbloomer.com/woocommerce-move-product-tabs-short-description/

    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
    add_action( 'woocommerce_single_product_summary',  woocommerce_output_product_data_tabs', 60 );
    • This reply was modified 4 years, 5 months ago by jirodearmas.
    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Oh awesome! Nice work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Put tab inside’ is closed to new replies.