跳到内容

GTIN Schema for WooCommerce

v1.2

Raghu · 2020年10月7日 上架

Add GTIN number to inventory tabs of woocommerce product.

正在使用
200+
评分
5.0 / 5
累计下载
5,494
最近更新
2022年7月17日
2 条评价需要 WordPress 5.0+已测试到 6.0.19PHP 7.2+

贡献者

截图

wp-admin setting
wp-admin setting
GTIN Schema for WooCommerce

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums