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