How to show a WooCommerce product tab on all products, or by category, tag or brand
Some tabs belong on many products: shipping and returns, warranty, care instructions, a size guide for one clothing line, a page about a brand, details for everything on sale. Tablift can show a saved tab on all products, or on the products in chosen categories, tags or brands, so you don't have to insert it product by product. This is part of the free plugin.
Steps
Step 1: Create or open a saved tab
Go to Products > Saved Tabs and open a saved tab, or click Add saved tab. Give it an internal name, a Tab title shown to shoppers, and the content.
Step 2: Choose where it shows
In the Show this tab on box, pick one of:
- Only products I insert it into: the default. You add it per product from the Product Tabs box.
- All products: every product shows the tab.
- Products in any of these categories, tags or brands: tick categories under Categories, tags under Tags and brands under Brands. You can mix them.
Click Publish or Update. The Shown on column in the saved tabs list shows each tab's setting, for example "Categories: Shirts, with subcategories; Tags: sale".
Step 3: Include subcategories if you need them
Subcategories are listed under their parent category. Tick Also show on products in subcategories of the ticked categories to show the tab on a whole branch, such as "Clothing" with "Clothing > Shirts" and "Clothing > Shirts > Linen". Subcategories you add later are covered too.
Step 4: Hide it on a single product
Edit the product. In its Product Tabs box, under Store-wide tabs on this product, tick Hide next to the tab and update the product.
Step 5: Check a product page
Open a product with one of the categories, tags or brands. These tabs appear after the product's own tabs, in the position you set for custom tabs under Products > Tab Settings.
Good to know
- Any one match is enough. A product gets the tab if it has any one of the ticked categories, tags or brands. You can't yet require two at once, such as a category and a tag.
- Subcategories are your choice. Without the subcategories option, choosing "Clothing" doesn't cover products that are only in "Clothing > Shirts". The option applies to categories, not to brands.
- Brands. Tablift uses the WooCommerce Brands taxonomy (Products > Brands), built into WooCommerce 9.6 and later. Brands from other brand plugins aren't listed; a developer can add one with the
tablift_rule_taxonomiesfilter. - New products are covered automatically. Matches are checked when a product page loads, so a product you tag tomorrow gets the tab without editing the saved tab.
- No duplicates. If a product already has the same saved tab inserted in its Product Tabs box, it shows once, in the inserted position.
- Edit once. Editing the saved tab updates every product that shows it.
- Not yet: rules by product attribute (such as color) or stock status.
- Block themes. In the Product Details block's accordion layout, WooCommerce places these tabs after Description, Additional information and Reviews.
Coming from Custom Product Tabs (YIKES) Pro?
The YIKES importer carries over YIKES Pro rules: a global tab becomes a saved tab shown on all products, and category, tag and brand rules become a saved tab shown on those categories, tags and brands. The dry run shows each rule before you import. Limits:
- Subcategories are not added, so each tab shows on the same products as it did with YIKES. Tick the subcategories option afterwards if you want it.
- Rules on other taxonomies, such as product attributes, are not carried over. The dry run lists them so you can insert those tabs yourself.
- Categories, tags and brands that no longer exist are skipped, and the dry run says how many.
- If you imported with an earlier Tablift version, run the import again. It adds the missing rules, and the tags and brands that Tablift 1.0.3 skipped, to the saved tabs it created before, unless you have changed Show this tab on for that tab yourself. Undoing that run removes only what it added.
Tablift is an independent plugin and is not affiliated with YIKES.