WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WooCommerce Custom Product Tabs Lite] Adding the custom tab manually

[Resolved] [Plugin: WooCommerce Custom Product Tabs Lite] Adding the custom tab manually

  • Hello

    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:

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

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

    Elliot

    http://wordpress.org/extend/plugins/woocommerce-custom-product-tabs-lite/

Viewing 1 replies (of 1 total)
  • Plugin Author SkyVerge
    Participant

    @skyverge

    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

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: WooCommerce Custom Product Tabs Lite] Adding the custom tab manually’ is closed to new replies.