WooCommerce Custom Product Tabs Lite
[resolved] Adding the custom tab manually (2 posts)

  1. noriise
    Posted 4 years ago #


    Great plugin. I'd like to mod it somewhat and was hoping you may be able to provide a pointer.

    I would like to manually add the php into the product page template to display the custom tab info.

    I tried:

    global $WoocommerceCustomProductTabsLite;
    $WoocommerceCustomProductTabsLite->custom_product_tabs_panel(); ?>

    But it caused an error. Any ideas - many many thanks



  2. SkyVerge
    Plugin Author

    Posted 3 years ago #

    Hey Elliot, I realize this is an old question at this point, but the answer depends on what you're trying to do. If you're trying to move the tabs you'd need to unhook 'woocommerce_output_product_data_tabs' from the 'woocommerce_after_single_product_summary' action.

    If you want to modify the custom tab content you could do so by hooking into the 'woocommerce_custom_product_tabs_lite_content' filter. You really can't output the tabs in the manner you're describing as they are output by WooCommerce core. Well, you could try using the 'woocommerce_output_product_data_tabs()' function

    Hope this helps! Closing the issue out as it's so old

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce Custom Product Tabs Lite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.