Tab Rules
Hide, rename or move any tab for specific categories, tags, products, visitor roles and other conditions, or everywhere with a global rule.
- Rules card: "Rules apply top to bottom."
- First rule "Dresses: rename Reviews": Action Rename tab, Tab Reviews, New title "Customer reviews ({count})", Active
- Its condition: Product category is any of Midi Dresses
Adding a rule
- Add rule
Click Add rule. With no rules yet, the list says "No rules yet. Add one to change tabs for specific products or visitors."
- Choose the action and tab
Pick an Action and the Tab it applies to.
- Add conditions
Leave Conditions empty for a global rule, or add conditions to limit it. See Conditions.
- Save
Click Save Changes.
The rule card
A label for the card, up to 100 characters. Not shown on the store.
Hide tab, Rename tab or Move tab.
Any tab in Product Tabs: Description, Additional information, Reviews, the Custom tab or a Pro tab.
Rename tab only, required. Up to 200 characters. {count} shows the review count.
Move tab only, 1 to 999. "Lower numbers come first. Your Product Tabs order uses 10, 20, 30…" For example, 15 puts the tab between your first and second tab.
Off keeps the rule but skips it.
"Apply this rule only where these match. Leave empty to apply it everywhere (a global rule)."
- Rule "No reviews on gift boxes or sold-out items": Action Hide tab, Tab Reviews, Active
- Apply when "any condition matches": Product category is any of Uncategorized, or Stock status is any of Out of stock
- Up and down buttons, Duplicate and Remove rule
The up and down buttons change the rule order ("Moved to position 2."), Duplicate copies a rule and Remove rule deletes it when you save. Up to 100 rules.
What each action does
- Hide tab removes the tab from matching product pages.
- Rename tab replaces the tab's title, including a title set on the product itself.
- Move tab gives the tab a new position number. WooCommerce then sorts all tabs by number, including tabs from other plugins.
Order of rules
Rules run after your Product Tabs settings and each product's own changes, top to bottom. When two rules change the same tab, the lower one wins: a later rename replaces an earlier one, and once a tab is hidden later rules can't bring it back. See How it works.
Examples
| Goal | Rule |
|---|---|
| Hide Reviews on one category | Hide tab · Reviews · Product category is any of Gift cards |
| Rename a tab for dresses | Rename tab · Additional information · "Size guide" · Product category is any of Dresses |
| A Pro tab only for one role | Hide tab · your Pro tab · Visitor role is none of your wholesale role |
| Show Specifications first on variable products | Move tab · Specifications · 5 · Product type is any of Variable product |
| Hide Reviews everywhere except one product | Hide tab · Reviews · Specific products is none of 123 |
Reset
Reset to Defaults on the Tab Rules tab removes every rule. Pro tabs are not touched.