=== Product Tabs for WooCommerce ===
Contributors: riaanknoetze
Tags: woocommerce product tabs, custom product tabs, woocommerce tabs manager, product tabs plugin, woocommerce accordion tabs
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.4.0
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Create custom product tabs with custom content for clearer WooCommerce product pages - Defined sitewide or per product.

== Description ==

**Product Tabs for WooCommerce** helps store owners organize product information in a clear, consistent way—without duplicating content across products.

If you manage more than a handful of products, keeping tabs like *Shipping*, *Returns*, *Size Guides*, *Warranty*, or *Ingredients* in sync quickly becomes frustrating. This plugin solves that by letting you create **reusable product tabs** and decide exactly **where, when, and how** they appear.

### Why this plugin?

* Create tabs once and reuse them across your catalog  
* Show tabs only on specific products, categories, tags, or brands  
* Override or hide a global tab on a single product when needed  
* Control the final tab order—including default WooCommerce tabs  
* Add icons and switch between tabs or accordion layout  
* Keep everything manageable from familiar WooCommerce screens  

Unlike many alternatives, these features are available without locking core functionality behind a paywall.

### Built for real WooCommerce stores

Tabs support normal WordPress content, so **shortcodes, embeds, HTML, and blocks** work as expected. Icons can be added using **Dashicons** or the bundled **Font Awesome** set to make tab headings easier to scan.

For mobile-friendly layouts, tabs can be displayed as an **accordion** with one setting—ideal for long product pages.

The plugin is designed to integrate cleanly with WooCommerce. It declares compatibility with **High Performance Order Storage (HPOS)**, **Cart & Checkout Blocks**, and supports **WooCommerce Brands** when that taxonomy is available.

---

== How it works ==

1. Go to **Products → Product Tabs** to create reusable (global) tabs  
2. Add a title, content, and optional icon  
3. Assign categories, tags, or brands to control where the tab appears  
4. Leave assignments empty to show the tab on all products  

When editing an individual product, you can:

* Add **product-specific tabs** that apply only to that product  
* Hide a global tab for that product  
* Override a global tab’s content while keeping its title and icon  

To control the order, open **Products → Product Tabs → Reorder** and drag default WooCommerce tabs and global tabs into the exact sequence you want. Product-specific tabs appear afterward in their own order.

---

== What you can do ==

* Create reusable WooCommerce product tabs  
* Add custom tabs to individual products  
* Target tabs by category, tag, or brand  
* Override or hide global tabs per product  
* Rename or hide default WooCommerce tabs  
* Reorder all tabs from one screen  
* Add icons to tab headings  
* Display tabs as an accordion layout  
* Use shortcodes, embeds, and HTML in tab content  

---

== Real-world examples ==

* **Fashion stores** add a “Size & Fit” tab across all apparel, while showing “Care Instructions” only for certain materials  
* **Electronics shops** reuse a “Warranty” tab, but override the content for premium models  
* **Food and cosmetics** display “Ingredients & Allergens” only where required  
* **Multi-brand stores** show a “Brand Story” tab only on products from that brand  
* **Policy content** like “Shipping & Returns” is managed once and reused consistently  

Instead of copying content into every product, you manage it centrally and adjust only when a product truly needs something different.

---

== Screenshots ==

1. Product Tabs list screen for managing reusable tabs  
2. Global tab editor with icon picker and content editor  
3. Settings screen to rename or hide default tabs and enable Accordion mode  
4. Reorder screen combining default WooCommerce tabs and custom tabs  
5. Product edit screen with product-specific tabs  
6. Product Data panel options to hide or override global tabs  
7. Front-end product page showing tabs with icons  
8. Front-end product page using Accordion layout  

---

== Installation ==

1. Install and activate WooCommerce  
2. Install and activate **Product Tabs for WooCommerce**
3. Go to **Products → Product Tabs** to create reusable tabs  
4. Optionally target tabs by category, tag, or brand  
5. Use **Settings** to rename or hide default tabs and enable Accordion layout  
6. Use **Reorder** to set the final tab order  
7. Edit a product to add product-specific tabs or override global ones  

---

== Frequently Asked Questions ==

= Does it work with my theme? =
Most themes that use WooCommerce’s standard product tabs work out of the box. If your theme replaces the product tabs template entirely, the theme’s custom system may override the plugin.

= Can I use shortcodes or blocks in tab content? =
Yes. Tab content runs through WordPress content filters, so shortcodes, embeds, and most block output work normally.

= How do I show a tab only on certain products? =
Assign categories, tags, or brands to the tab. Tabs without assignments can appear on all products.

= Can I override a global tab for one product? =
Yes. In the Product Data → Product Tabs section, disable global settings for that tab and add custom content.

= Can I hide WooCommerce’s default tabs like Reviews? =
Yes. Default tabs can be renamed or hidden from the plugin’s Settings screen.

= Does it support icons? =
Yes. Dashicons and a bundled Font Awesome set are supported, with a searchable icon picker in the admin.

= Is it compatible with HPOS and Blocks? =
Yes. Compatibility with WooCommerce HPOS and Cart & Checkout Blocks is declared.

= Is it translation-ready? =
Yes. The plugin is fully internationalized and ready for translation.

---

== Compatibility ==

Works with WordPress 6.0+ and WooCommerce 6.0+ (tested up to WooCommerce 10.3.0). Compatible with HPOS, Cart & Checkout Blocks, and WooCommerce Brands when available.

---

== Privacy ==

This plugin does not collect or transmit personal data. All settings and content are stored locally in your WordPress database.

---

== Changelog ==

= 1.4.0 =
* Security - Restrict global tab authoring to users with the manage_woocommerce capability
* Update - Rename plugin to Product Tabs for WooCommerce

= 1.3.0 =
* Update - WC Compatibility

= 1.2.3 =
* Update - WC Compatibility
* Fix - Readme description fix

= 1.2.2 =
* Update - WC Compatibility
* Update - Readme.txt formatting

= 1.2.1 =
* Update: Improved capability checks and hardened admin actions  
* Update: Refreshed translations  
* Tweak: Coding standards and general polish  
* Update: WordPress and WooCommerce compatibility metadata  

= 1.2 =
* New: Reorder and icon support for tabs added by third-party plugins  
* Update: Rebrand to Dynamic Product Tabs Builder for WooCommerce  

= 1.1 =
* Update: Rebrand plugin to Product Tabs Toolkit  

= 1.0.1 =
* Fix: Keep admin UI readable in dark mode environments  

= 1.0.0 =
* Initial release  

---

== Upgrade Notice ==

= 1.0.0 =
Initial release.
