PAT Tab Studio for WooCommerce
Add per-product custom tabs to WooCommerce with WYSIWYG content, ordering, and enable controls.
Each product can define its own tab labels, tab content, order, and enabled state. The admin UI uses a repeater so you only add the tabs you want for that product. The plugin stores tab data in product post meta and renders only the tabs that contain content for that specific product.
This is intentionally not a global tab plugin and does not assign tabs by category.
Usage
- Open a WooCommerce product for editing.
- Click
Add Tabfor each tab you want to create. - Enable the row.
- Enter the tab label.
- Enter rich WYSIWYG content, shortcodes, or embed HTML.
- Drag rows to sort them, or set the order number manually.
- Update the product.
Tabs only appear on the frontend when they are enabled and have content.
Example
To add a product-specific FAQ tab:
1. Edit the product.
2. Click Add Tab.
3. Change the label to FAQ or Common Questions if desired.
4. Add your FAQ content.
5. Set the order number to 90 or another value you prefer.
Extending
Developers can extend the repeater behavior with filters such as:
pat_product_tabs_loaded_rowspat_product_tabs_sanitized_rowspat_product_tabs_frontend_tabs
Example:
`php
add_filter(‚pat_product_tabs_frontend_tabs‘, function ($tabs, $product_id) { $tabs[‚pat_product_tab_custom_note‘] = [ ‚title‘ => ‚Custom Note‘, ‚priority‘ => 5, ‚callback‘ => function () { echo ‚
Injected from a custom filter.
‚; }, ‚content‘ => ‚
Injected from a custom filter.
‚, ];
return $tabs;
}, 10, 2); `
The stored product meta key is _pat_product_tabs.
Notes
- If WooCommerce is inactive, the plugin degrades gracefully and shows an admin notice.
- Standard WooCommerce tabs remain available when no custom tabs are configured.
- Content uses a WYSIWYG editor, so HTML and shortcode-based layouts are supported.
- Video content can be provided as an embed URL, shortcode, or iframe embed.
- This package is prepared for the WordPress.org free plugin directory.
