Plugins
0

WooCommerce Custom Product Tabs Lite

LICENSE TYPE: INFINITE

Description

This plugin extends WooCommerce to allow a custom product tab to be added to single product pages with arbitrary content. The new custom tab may contain text, html (such as embedded videos), or shortcodes, and will appear between the Additional Information and Reviews tabs.

Requires WooCommerce 3.0.9 or newer

Features

  • Add a single custom tab to each product in your shop
  • Insert any desired content into custom tabs to provide product specifications, shipping info, or more
  • Custom tabs can accept shortcodes or HTML content great for embedding a marketing video or inquiry form!

Support Details

We do support our free plugins and extensions, but please understand that support for premium products takes priority. We typically check the forums every few days (with a maximum delay of one week).

WooCommerce Tab Manager

To easily add multiple tabs, share tabs between products, and more features, please consider upgrading to the premium WooCommerce Tab Manager, available from the official WooCommerce.com store.

More Details

Interested in contributing? You can find the project on GitHub and contributions are welcome

Screenshots

Installation

  1. Upload the entire woocommerce-custom-product-tabs-lite folder to the /wp-content/plugins/ directory, or upload the zip file via Plugins > Add New
  2. Activate the plugin through the Plugins menu in WordPress
  3. Edit a product, then click on Custom Tab within the Product Data panel

FAQ

This free version does not have that functionality, but you can with the premium WooCommerce Tab Manager. This allows you to add multiple tabs, share tabs, edit core tabs, or re-order tab display.

The tab heading is shown before the tab content and is the same string as the tab title. An easy way to hide this is to add the following to the bottom of your themes functions.php or wherever you keep custom code:

add_filter( 'woocommerce_custom_product_tabs_lite_heading', '__return_empty_string' ); 

Be sure that (1) your HTML is valid try putting your tab content into a blog post draft and see how it renders. (2) Be sure any shortcodes will expand in your blog post draft as well; if they dont work properly there, they wont work in your custom tab.

Yep, theres the woocommerce_custom_product_tabs_lite_title that passes in the tab title for you to change. This filter also passes in the $product and class instance if youd like to change this conditionally.

Heres how you can set one title for all custom tabs, regardless of what title is entered on the product page (can go in the bottom of functions.php or where you keep custom code):

function sv_change_custom_tab_title( $title ) {  $title = 'Global tab title';  return $title; } add_filter( 'woocommerce_custom_product_tabs_lite_title', 'sv_change_custom_tab_title' ); 

Leave a Reply

Your email address will not be published.

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed

Most Viewed Posts
Menu