
前言介紹
- 這款 WordPress 外掛「Product Brand Additional Tab for WooCommerce」是 2025-07-22 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2025-07-23,距離現在已有 218 天。
- 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.2 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
brand schema | brand details | additional tab | woocommerce tabs | product brand tabs for woocommerce |
內容簡介
**總結:**
這個外掛增強了 WooCommerce 產品詳細頁面的功能:
- 在「Additional Information」選項卡中顯示指定的產品品牌。
- 使用 schema.org 標記來為產品的品牌輸出結構化的數據(JSON-LD)。
- 通過為品牌名稱、描述、標識和產品模式添加品牌名稱,改進了品牌在搜索結果中的可見性。
**問題與答案:**
1. 這個外掛主要如何增強 WooCommerce 產品詳細頁面?
- 顯示指定的產品品牌在「Additional Information」選項卡中。
- 使用 schema.org 標記輸出品牌的結構化數據(JSON-LD)。
- 通過添加品牌名稱、描述、標識和產品模式來改進品牌在搜索結果中的可見性。
2. 這個外掛與哪些版本的 WooCommerce 兼容?
- 這個外掛與 WooCommerce v9.4 或更新版本兼容。
3. 開發者指南中提到了哪些自定義支持及方法?
- 可以修改品牌選項卡的佈局模板,將默認模板複製到主題中,並自定義如何顯示品牌名稱、標識和描述。
- 使用自定義動作鉤子來在品牌選項卡輸出之前或之後注入內容。
- 使用輔助方法來生成乾淨和過濾過的品牌描述。
- 使用過濾鈎子來控制外掛是否應使用內容過濾器格式化品牌描述。
這些問題與答案整理了外掛的主要功能和開發者指南中提供的自定義支持及方法。
原文外掛簡介
This plugin enhances WooCommerce product detail page by:
Displaying the assigned product brand inside the “Additional Information” tab.
Outputting structured data (JSON-LD) for the product’s brand using schema.org markup.
Improving brand visibility in search results by adding brand name, description, logo, and link to the product schema.
It works out of the box with WooCommerce’s product_brand taxonomy or any compatible brand plugin using the same taxonomy.
Compatibility
This plugin is compatible with:
WooCommerce v9.4 or later
Developer Guide
🧩 Template Override Support
To override the brand tab layout, copy the default template into your theme:
Destination Path:
yourtheme/woocommerce/single-product/tabs/brand-information.php
Original Plugin Template:
templates/single-product/tabs/brand-information.php
You can customize how the brand name, logo, and description are displayed in the additional tab.
🔄 Custom Action Hooks
Use these hooks to inject content before or after the brand tab output:
Before the brand content block.
do_action( 'wc_pbat_before_brand_content', $brand );
After the brand content block.
do_action( 'wc_pbat_after_brand_content', $brand );
🔧 Helper Method
Render clean and filtered brand description using:
WC_Product_Brand_Additional_Tab::get_content( $term );
This ensures the description is properly formatted and filtered.
🔃 Filter Hooks
Controls whether the plugin should use the_content filter to format the brand description.
add_filter( 'wc_pbat_use_the_content_filter', '__return_false' )
Default: true
Fires only when the_content filter is skipped. Allows custom formatting of brand descriptions in the tab.
add_filter( 'wc_pbat_filter_tab_content', function( $description ) {
return wpautop( esc_html( $description ) );
});
These filters give developers full control over how brand descriptions are rendered in the tab.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Product Brand Additional Tab for WooCommerce」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。
