[WordPress] 外掛分享: Katalog Visibility for WooCommerce

首頁外掛目錄 › Katalog Visibility for WooCommerce
WordPress 外掛 Katalog Visibility for WooCommerce 的封面圖片
全新外掛
安裝啟用
尚無評分
6 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.0 上架:2026-07-22

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Katalog Visibility for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Katalog Visibility for WooCommerce gives store owners granular control over which product categories appear on the main Shop page — without affecting visibility anywhere else on the site.
Products in hidden categories remain fully accessible through:

Their own category archive pages (e.g. /product-category/wholesale/)
Direct product URLs
Search results (configurable)
Cart, checkout, and all other WooCommerce pages

Use Cases

Wholesale / trade-only products — keep them off the public Shop page but accessible via direct links shared with trade customers.
Coming soon collections — prepare categories ahead of launch without exposing them to casual shoppers.
Funnel-based selling — drive traffic to specific landing/category pages instead of the Shop page.
Members-only products — pair with the developer filter to show/hide categories based on user role.

Features

Multi-select category picker — searchable Select2 dropdown listing all product categories including nested subcategories.
Selective hiding — only the main Shop page is affected; category archives always show all their products.
Optional search exclusion — toggle to also hide selected categories from frontend search results.
Optional tag archive exclusion — toggle to also hide selected categories from product tag archive pages.
Per-product override — “Force show on Shop page” checkbox on individual products to override category-level hiding.
Debug logging — enable debug mode to log excluded category and product IDs to WooCommerce Status Logs.
Developer-friendly — wsvc_hidden_categories filter allows programmatic control (e.g. role-based visibility).
Safe query merging — appends to existing tax_query without overriding other plugins’ filters.
HPOS compatible — fully compatible with WooCommerce High-Performance Order Storage.
Lightweight — no external dependencies, no custom database tables, no frontend assets.

Developer Filter Example
Show hidden categories to wholesale users:
add_filter( 'wsvc_hidden_categories', function ( $hidden ) {
if ( current_user_can( 'wholesale_customer' ) ) {
$wholesale = get_term_by( 'slug', 'wholesale', 'product_cat' );
if ( $wholesale ) {
$hidden = array_diff( $hidden, array( $wholesale->term_id ) );
}
}
return $hidden;
} );

延伸相關外掛

文章
Filter
Apply Filters
Mastodon