Guides / GTIN, brand & MPN

How to Add GTIN, Brand & MPN to WooCommerce Products

Product identifiers are the single most under-used lever in WooCommerce SEO. They tell Google exactly which product you’re selling, unlock Shopping eligibility, and help AI engines cite you accurately. Here’s how to get them right.

The three identifiers that matter

IdentifierWhat it isExample
GTINGlobal Trade Item Number — the barcode number (UPC, EAN, ISBN are all GTINs)0012345678905
BrandThe manufacturer or brand nameTrailMaster
MPNManufacturer Part Number — the maker’s own SKUTM-BP-30L

The general rule from Google: provide GTIN + brand when a product has a barcode, and brand + MPN when it doesn’t.

Why they matter so much

Where WooCommerce stores them

Recent WooCommerce versions add a GTIN, UPC, EAN, or ISBN field under each product’s Inventory tab. Brand may come from a product attribute, a dedicated brand taxonomy, or a plugin. MPN is usually a custom field. The catch: storing a value is not the same as publishing it. The identifier has to make it into two places to actually help you:

  1. Your Product schema (JSON-LD on the product page)
  2. Your product feed (Merchant Center, Bing, Meta, etc.)

What it looks like in schema

{
  "@type": "Product",
  "name": "TrailMaster Waterproof Backpack",
  "brand": { "@type": "Brand", "name": "TrailMaster" },
  "gtin13": "0012345678905",
  "mpn": "TM-BP-30L",
  "offers": {
    "@type": "Offer",
    "price": "89.00",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  }
}

Use the GTIN property that matches the length: gtin12 for UPC, gtin13 for EAN, gtin14 for ITF-14, or the generic gtin.

What it looks like in a product feed

<g:brand>TrailMaster</g:brand>
<g:gtin>0012345678905</g:gtin>
<g:mpn>TM-BP-30L</g:mpn>

Common mistakes to avoid

Doing it without custom code

Mapping identifiers into both schema and feeds — consistently, across every product and variation — is exactly the kind of repetitive plumbing that’s easy to get wrong by hand. Easy Woo API reads your stored identifiers and emits them into clean Product schema and feed-ready endpoints automatically, so the same correct value appears everywhere.

Next: see the full Product schema guide and Google Merchant feed guide.