Product GTIN (EAN, UPC, ISBN) for WooCommerce

Description

Product GTIN (EAN, UPC, ISBN) for WooCommerce lets you set the GTIN (Global Trade Item Number) for each product of your shop.
By default, WooCommerce allows to set the SKU custom field for a product, but sometimes the SKU isn’t enough.
Google and Amazon use global trade item numbers (GTINs) to group identical products.
The most common GTINs are:

  • 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

Another type of Identification Number is the MPN (Manufacturer Part Number). This code is required for all products that do not have an assigned GTIN.
These type of codes are important both for selling and for tracking your products.

Main features of Product GTIN (EAN, UPC, ISBN) for WooCommerce:

  • Assign a name to the code (EAN, UPC, ISBN, JAN, ITF-14)
  • Add a code for main products and for product variations.
  • Extend the WooCommerce Product Search by GTIN Code.
  • Add the GTIN code column inside the product list table.
  • Search by GTIN inside the product list table.
  • Option to show GTIN code in WooCommerce product detail page.
  • Option to show GTIN code in WooCommerce shop 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.
  • Hide empty GTIN code in your WooCommerce shop.
  • Shortcode available to show GTIN code for a specific product.

Suggestions

If you have any suggestions concerning how to improve Product GTIN (EAN, UPC, ISBN) for WooCommerce, you can contact @emanuelacastorina on Slack.

Screenshots

  • Settings Options Page of Product GTIN (EAN, UPC, ISBN) for WooCommerce.
  • Product editor > Inventory > GTIN Code field.
  • Product editor > Variations > GTIN Code field.
  • GTIN Code in WooCommerce product detail page.
  • GTIN Code in WooCommerce shop page.
  • GTIN Code in WooCommerce cart page.
  • GTIN Code in WooCommerce checkout page.
  • GTIN code in WooCommerce Order Items.
  • WooCommerce Product List Page with GTIN Code Column.
  • Shortcode

Installation

Important: First of all, you have to download and activate the WooCommerce plugin, without which Product GTIN (EAN, UPC, ISBN) for WooCommerce cannot work correctly.

  1. Unzip the downloaded zip file.
  2. Upload the plugin folder into the wp-content/plugins/ directory of your WordPress site, or install the plugin through the WordPress plugins screen.

  3. Activate Product GTIN (EAN, UPC, ISBN) for WooCommerce from the Plugins page

Configuration

Product GTIN (EAN, UPC, ISBN) for WooCommerce will add a new tab called “Product GTIN” in “WooCommerce > Settings” page.

FAQ

How can I set a GTIN code for a product?

Inside the product editor page, open the “Inventory” tab, and fill out the GTIN field.
If your product is variable, you can set a GTIN code for each variation; you can fill out the GTIN field that you’ll find inside the variation detail panel.

How can use the shortcode to show the GTIN code where I want?

The shortcode to show the GTIN code is [wpm_product_gtin] you can use these attributes:

  • id the product id
  • label the label that will be displayed before the code. By default is “Code EAN:”, but this can be changed inside the settings panel.
  • wrapper you can wrap the label and GTIN code in div or span. By default is ‘div’ for the shop page and ‘span’ on the other pages.
  • wrapper_code the container of GTIN code. By default is a ‘span’.
  • class the class of wrapper container. By default is ‘wpm_gtin’.
  • class_wrapper the class of wrapper code container. By default is ‘wpm_gtin_code_wrapper’.

Reviews

August 14, 2019
Sorry, but this plugin doesn't work for products. I'm not sure why/how you have so many great reviews and a ton of support questions unanswered. However, this isn't working after several attempts to test. Bummer.
October 26, 2018
This plugin is excelent! It works like advertised and support is great! I used this plugin for a while and without any issues. Today I was writing Python code to extract data from WP/WC via the REST API and found out that I did nog get my EAN codes in the returned JSON. I asked the author and hinted to some technical documentation in about an hour I got a file to replace for testing and .... It worked! Thank you!
August 17, 2018
This plugin is just what I need for my business and it is also full of features! One of the most useful in my point of view is the possibility to search product globally using GTIN code. If you need add GTIN on your WooCommerce store this is, in my opinion, the best plugin.
Read all 4 reviews

Contributors & Developers

“Product GTIN (EAN, UPC, ISBN) for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

“Product GTIN (EAN, UPC, ISBN) for WooCommerce” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Product GTIN (EAN, UPC, ISBN) for WooCommerce” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.5 – Released: Jun 19, 2019

  • New: Support to WordPress 5.2.x
  • New: Support to WooCommerce 3.6.x
  • New: Integration with Google Product Feed, registers GTIN field from Product GTIN for WooCommerce plugin as a pre-population option (thanks to Lee Willis)
  • Fix: Public label fix (thanks to davado)

1.0.4 – Released: Oct 26, 2018

  • New: Support to WooCommerce 3.5.x
  • New: Added ‘ean_code’ in WooCommerce Rest product data
  • Fix: Search by GTIN Code with WordPress Search Widget

1.0.3 – Released: Sep 19, 2018

  • New: Option to show GTIN code in WooCommerce Order Items.
  • Fix: Search by GTIN inside the product list table issue

1.0.2 – Released: Aug 17, 2018

  • Update: Added Settings Link on Action Links

1.0.1 – Released: Aug 10, 2018

  • Update: Text domain

1.0.0 – Released: Aug 9, 2018

  • Initial release