WooCommerce Barcode Scanner Plugin: How to Auto-Fill Product Data from UPC and EAN Codes
If you manage a WooCommerce store with more than 50 products, you already know the pain: manually entering product titles, descriptions, weights, and images for every single SKU. It is slow, error-prone, and — if you are importing from a supplier catalog — completely unnecessary.
This guide covers exactly how to use a WooCommerce barcode scanner plugin (or a direct API integration) to auto-fill product data from UPC and EAN barcodes, cutting your catalog setup time by 80% or more.
Why Manual Product Entry Is Costing You Money
The average WooCommerce store owner spends 8–12 minutes entering data for a single product: finding the right title, writing a description, sourcing an image, entering the weight and dimensions, and categorizing correctly.
For a 200-SKU catalog, that is 26–40 hours of data entry work. At $25/hour (typical VA rate), that is $650–$1,000 just to get products into your store — before you sell a single unit.
The problem compounds when you:
- Expand to new product categories
- Switch suppliers who send new SKU lists
- Need to update descriptions as products change
- Run multiple storefronts for different channels
There is a better way. Every manufactured consumer product sold in the US, UK, EU, or Australia has a barcode — either a UPC (Universal Product Code, 12 digits) or an EAN (European Article Number, 13 digits). That barcode is a permanent, globally unique identifier. And it maps to a massive database of pre-filled product data.
What Data Can You Get From a Barcode?
When you look up a UPC or EAN code via a product data API, you typically get:
| Field | Example |
|---|---|
| Product title | Logitech MX Master 3S Wireless Mouse |
| Brand | Logitech |
| Category | Electronics > Computers > Mice |
| Description | 150–500 word product description |
| Images | 3–10 studio white-background photos |
| Weight | 141g |
| Dimensions | 124.9 x 84.3 x 51mm |
| Color/Size variants | Graphite, Pale Grey |
| GTIN | 5099206095632 |
| ASIN (if Amazon) | B09HMKFDXC |
| Model number | 910-006556 |
That is 80–90% of what you need to publish a WooCommerce product listing — pulled automatically from a 12-digit number.
Option 1: WooCommerce Barcode Scanner Plugins
Several WooCommerce plugins add barcode scanning directly to the admin UI. Here are the main options:
WooCommerce Barcode Scanner and Product Manager
- What it does: Adds a barcode field to product edit screens; scan or type a UPC/EAN to search your existing catalog
- Limitation: Does not auto-fill from external databases — it only searches products you have already entered
- Best for: Inventory management at POS, reordering
WooCommerce Product Barcode Generator
- What it does: Generates barcodes for products in your WooCommerce store
- Limitation: Generates barcodes for products you already have — does not pull external data
- Best for: Labeling your own manufactured products
YITH WooCommerce Barcodes & QR Codes
- What it does: Creates printable barcode labels from existing product data
- Limitation: Same as above — no external lookup
- Best for: Physical retail with POS systems
The honest verdict: Most WooCommerce barcode plugins are built for inventory management at the point of sale, not for importing product data at catalog creation time. They assume you already have the data — they just help you organize and label it.
If you want to import data from barcodes, you need a different approach: a product data API integration.
Option 2: Product Data API Integration (The Better Approach)
Instead of a plugin that looks up your existing data, connect WooCommerce to a product data API that returns manufacturer data for any UPC or EAN.
How It Works
- You have a UPC or EAN code (from supplier list, physical product, or inventory scan)
- Your script sends the code to a product data API
- The API returns: title, description, images, brand, category, weight, dimensions
- Your script creates a WooCommerce product via the WooCommerce REST API
This workflow can process hundreds of SKUs per hour with no manual data entry.
The WooCommerce REST API
WooCommerce has a built-in REST API that lets you create products programmatically. Enable it under WooCommerce > Settings > Advanced > REST API.
# Create a product via WooCommerce REST API
import requests
from requests.auth import HTTPBasicAuth
WC_URL = "https://yourstore.com/wp-json/wc/v3/products"
payload = {
"name": "Logitech MX Master 3S Wireless Mouse",
"description": "Advanced wireless mouse with ultra-fast scrolling...",
"images": [{"src": "https://example.com/image.jpg"}],
"weight": "141",
}
response = requests.post(
WC_URL,
json=payload,
auth=HTTPBasicAuth("ck_your_key", "cs_your_secret")
)
Step-by-Step: Auto-Fill WooCommerce Products from Barcodes
Step 1: Export your barcode list
If you have physical products, use a USB barcode scanner or mobile scanner app to scan them into a CSV. If working from a supplier catalog, they typically provide UPC/EAN in their price list spreadsheet.
Step 2: Look up product data via API
Use the SkuMonster API to retrieve product data for each barcode:
import requests
import csv
def lookup_barcode(upc, api_key):
resp = requests.get(
f"https://api.sku.monster/v1/product/{upc}",
headers={"x-api-key": api_key}
)
return resp.json() if resp.status_code == 200 else None
# Process a CSV of barcodes
results = []
with open("barcodes.csv") as f:
for row in csv.DictReader(f):
product = lookup_barcode(row["upc"], "your-api-key")
if product:
results.append(product)
print(f"Found: {product.get('title')}")
Step 3: Create WooCommerce products
def create_wc_product(product_data, wc_url, wc_key, wc_secret):
payload = {
"name": product_data.get("title"),
"description": product_data.get("description", ""),
"images": [{"src": img} for img in product_data.get("images", [])[:3]],
"meta_data": [{"key": "_sku", "value": product_data.get("upc", "")}],
"status": "draft", # Review before publishing
}
return requests.post(
wc_url,
json=payload,
auth=HTTPBasicAuth(wc_key, wc_secret)
).json()
Step 4: Run the import
Combine the two functions, loop over your CSV, and you can process 100 products in under 5 minutes.
What About Product Images?
One of the most time-consuming parts of WooCommerce catalog setup is sourcing product images. Product data APIs like SkuMonster return studio-quality white background images sourced from manufacturer databases. For the 2.4M+ products in the SkuMonster catalog, you will typically get 3–10 images per product, ready to use in your WooCommerce gallery.
These are the same images used on Amazon, Walmart, and Target — they comply with WooCommerce's recommended 800x800px minimum and work perfectly for product galleries.
Which Products Work Best?
Barcode lookup works best for:
- Branded consumer products (electronics, beauty, health, household goods, toys, sporting goods)
- Wholesale/reseller catalogs — products you did not manufacture yourself
- Distributor imports — supplier sends you 500 new SKUs
- Dropshipping — you need images and descriptions for products you have never touched
It works less well for:
- Private label products — your own brand, unique to your catalog
- Handmade or custom items — no barcode in any database
- Very new products — released in the last 30–90 days, not yet indexed
Realistic Time Savings
| Catalog Size | Manual Entry | Barcode API Import | Time Saved |
|---|---|---|---|
| 50 SKUs | 6–10 hrs | 20–40 min | ~90% |
| 200 SKUs | 26–40 hrs | 1–2 hrs | ~95% |
| 1,000 SKUs | 130–200 hrs | 4–8 hrs | ~97% |
| 5,000 SKUs | Not practical | 1–2 days | n/a |
Setting Up in WooCommerce: Quick Checklist
- Enable WooCommerce REST API: WooCommerce > Settings > Advanced > REST API > Add Key
- Generate Consumer Key + Consumer Secret with Read/Write permissions
- Get a SkuMonster API key (free tier: 100 lookups/month)
- Test with 5 barcodes before running bulk import
- Back up your WooCommerce database before any bulk operation
- Set products to "draft" status initially — review before publishing
Conclusion
Most WooCommerce barcode plugins are designed for inventory management at POS — not for catalog creation from external databases. If you want to auto-fill product data from UPC/EAN codes when building or expanding your catalog, a product data API integration is the right tool.
The workflow is: export barcode list → look up via API → push to WooCommerce via REST API. For branded consumer goods, this replaces 90%+ of manual data entry.
Ready to try it? SkuMonster's API returns product titles, descriptions, images, and full attribute data for 2.4M+ consumer products. Enter your first barcode free at sku.monster and see what comes back in seconds.
Ready to Try SKU Monster?
If you're managing product data at scale — whether you're on Amazon, Shopify, eBay, or WooCommerce — SKU Monster gives you structured titles, descriptions, images, and pricing for any EAN, UPC, or ASIN in seconds.
No manual entry. No scraping. Just clean product data via API.