
內容簡介
添加了 GTIN 編號到 WooCommerce 產品的庫存標籤。
UPC:北美地區主要的 GTIN。
EAN/UCC:北美以外的主要 GTIN。
JAN:日本的 GTIN。
ISBN:書籍的 GTIN。
非常簡單。
Product GTIN(EAN、UPC、ISBN)for WooCommerce 的主要功能:
選項在 WooCommerce 商店頁面中顯示 GTIN 編號。
選項在 WooCommerce 產品詳細頁面中顯示 GTIN 編號。
選項在 WooCommerce 購物車頁面中顯示 GTIN 編號。
選項在 WooCommerce 結算頁面中顯示 GTIN 編號。
選項在 WooCommerce 訂單列表中顯示 GTIN 編號。
選項選擇單個產品頁面內 GTIN 編號的位置。
選項在產品詳細頁面中添加新的 GTIN 標籤。
在 GTIN 模式中添加新代碼:
add_filter('gtin_schema_data_structure_options', 'add_extra_gtin_code');
function add_extra_gtin_code($codes){
$codes['volume'] = "Volume";
return $codes;
}
將此函數粘貼到 functions.php 文件中。
外掛標籤
開發者團隊
原文外掛簡介
Added GTIN number to inventory tabs of woo product.
UPC: this is the primary GTIN in North America.
EAN/UCC: the major GTIN used outside of North America
JAN: the Japanese GTIN
ISBN: a GTIN for books
It’s very simple.
Main features of Product GTIN (EAN, UPC, ISBN) for WooCommerce:
Option to show GTIN code in WooCommerce shop page.
Option to show GTIN code in WooCommerce product detail page.
Option to show GTIN code in WooCommerce cart page.
Option to show GTIN code in WooCommerce checkout page.
Option to show GTIN code in WooCommerce Order Items.
Option to choose the position of GTIN code inside the single product page
Option to add new GTIN tab in product details page
Add new code in GTIM schema:
add_filter('gtin_schema_data_structure_options', 'add_extra_gtin_code');
function add_extra_gtin_code($codes){
$codes['volume'] = "Volume";
return $codes;
}
This function paste in your functions.php file
