Optimization Guide
Shopify Consumer Electronics Hardware Schema — Tech Specs, Energy Ratings & Compatibility JSON-LD
When an AI agent processes "16GB RAM laptop under $1200 with HDMI and USB-C," "EnergyStar certified monitor with 144Hz refresh rate," or "MFi certified USB-C cable for iPhone 16 Pro," every electronics product without machine-readable spec, certification, and compatibility data is filtered out before the response is even generated.
Product type — not ElectronicDevice (not a real schema.org type). Encode technical specs in additionalProperty with QuantitativeValue and UN/CEFACT unitCodes. Use EnergyConsumptionDetails for EU Energy Label ratings. Add hasCertification for FCC, CE, RoHS, EnergyStar, UL. Signal OS compatibility with operatingSystem and accessory fitment with compatibleWith. Always populate sku, mpn, and gtin13 — AI price comparison depends on them. Store in tech.* metafields and inject via Liquid.
Why Electronics Stores Lose AI Shopping Traffic
Consumer electronics is one of the highest-intent AI shopping query categories and one of the worst-served by default Shopify structured data. The reason is simple: tech buyers are specification-driven. They do not search "good laptop" — they search "laptop 16GB RAM 512GB SSD 15-inch under $1000 USB-C charging." Every one of those terms is a filter criterion that must match a machine-readable data field, not free text in a product description.
Shopify's default Product JSON-LD outputs name, price, availability, brand, and aggregate rating. It does not output RAM, storage, screen size, refresh rate, battery life, weight, resolution, OS compatibility, input types, certifications, or warranty terms. An AI agent filtering by any of these criteria — which is every electronics query — eliminates your products before the search results are assembled.
Electronics also has a secondary AI visibility problem: price comparison. AI agents like ChatGPT Shopping, Perplexity, and Google AI Mode actively compare prices across stores for identical products. They identify identical products by gtin13, mpn, and sku. Without these identifiers, your store is invisible in cross-store price comparison results — the category where purchase intent is highest.
Electronics AI query dimensions requiring structured data
| Query dimension | Example AI query | Required schema signal | Without schema |
|---|---|---|---|
| RAM | "laptop with 16GB RAM" | additionalProperty memoryCapacity: QuantitativeValue(16, GiB) |
RAM filter returns no match |
| Storage | "512GB SSD laptop" | additionalProperty storageCapacity: QuantitativeValue(512, GiB) |
Storage size filter fails |
| Screen size | "27-inch monitor" | additionalProperty screenSize: QuantitativeValue(27, INH) |
Size filter cannot apply numeric range |
| Refresh rate | "144Hz gaming monitor" | additionalProperty refreshRate: QuantitativeValue(144, HZ) |
Hz filter not machine-readable |
| Battery life | "laptop 10+ hours battery life" | additionalProperty batteryLife: QuantitativeValue(12, HUR) |
Battery hours not structured; cannot threshold |
| Energy rating | "EnergyStar certified TV" | hasCertification EnergyStar |
Cert claim in description not matched |
| EU Energy Label | "energy class A washing machine" | hasEnergyConsumptionDetails energyEfficiencyScaleValue: A |
EU label rating not machine-readable |
| OS compatibility | "USB hub compatible with MacOS" | operatingSystem: "macOS" |
OS compatibility not structured |
| Connectivity | "monitor with HDMI and DisplayPort" | additionalProperty inputType: "HDMI 2.1, DisplayPort 1.4" |
Port filter depends on NLP text parse |
| Price comparison | "cheapest price for Sony WH-1000XM5" | gtin13, mpn |
Product not identified for cross-store comparison |
UN/CEFACT Unit Codes for Electronics Specs
When using QuantitativeValue inside additionalProperty, the unitCode field expects a UN/CEFACT common code. Always pair unitCode with a human-readable unitText — AI agents use unitCode for numeric comparison and unitText for display in responses.
| Spec | UN/CEFACT unitCode | unitText | Example value |
|---|---|---|---|
| RAM / Storage (gigabytes) | 4-02 |
GB | { "value": 16, "unitCode": "4-02", "unitText": "GB" } |
| Storage (terabytes) | 4-03 |
TB | { "value": 2, "unitCode": "4-03", "unitText": "TB" } |
| Screen size (inches) | INH |
inches | { "value": 27, "unitCode": "INH", "unitText": "inches" } |
| Dimensions (centimeters) | CMT |
cm | { "value": 61.2, "unitCode": "CMT", "unitText": "cm" } |
| Dimensions (inches) | INH |
in | { "value": 24.1, "unitCode": "INH", "unitText": "in" } |
| Weight (kilograms) | KGM |
kg | { "value": 1.8, "unitCode": "KGM", "unitText": "kg" } |
| Weight (pounds) | LBR |
lbs | { "value": 4.0, "unitCode": "LBR", "unitText": "lbs" } |
| Battery life (hours) | HUR |
hours | { "value": 12, "unitCode": "HUR", "unitText": "hours" } |
| Refresh rate (hertz) | HZ |
Hz | { "value": 144, "unitCode": "HZ", "unitText": "Hz" } |
| Power consumption (watts) | WTT |
W | { "value": 65, "unitCode": "WTT", "unitText": "W" } |
| Processor clock speed (GHz) | GHZ |
GHz | { "value": 3.6, "unitCode": "GHZ", "unitText": "GHz" } |
{
"@type": "PropertyValue",
"propertyID": "memoryCapacity",
"name": "RAM",
"value": "16GB DDR5"
// String — cannot compare
// "16GB RAM filter" fails
}
{
"@type": "PropertyValue",
"propertyID": "memoryCapacity",
"name": "RAM",
"value": {
"@type": "QuantitativeValue",
"value": 16,
"unitCode": "4-02",
"unitText": "GB"
}
// Numeric — "16GB RAM" matches
}
Complete JSON-LD Example: 4K Gaming Monitor
This example shows a fully marked-up gaming monitor with tech specs, EU Energy Label, EnergyStar certification, input types, OS compatibility, and warranty. All quantitative specs use QuantitativeValue with UN/CEFACT unitCodes.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "ProVision 27\" 4K 144Hz IPS Gaming Monitor — USB-C 90W PD — VESA 100x100",
"description": "27-inch 4K IPS gaming monitor with 144Hz refresh rate, 1ms GTG response time, USB-C 90W power delivery, HDMI 2.1, DisplayPort 1.4. ENERGY STAR certified. EU Energy Class B.",
"url": "https://example.com/products/provision-27-4k-144hz",
"sku": "MON-PV27-4K-144",
"mpn": "PV-27-4K144-IPS-2025",
"gtin13": "3456789012345",
"brand": { "@type": "Brand", "name": "ProVision Displays" },
"offers": {
"@type": "Offer",
"price": "449.99",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"url": "https://example.com/products/provision-27-4k-144hz",
"warranty": {
"@type": "WarrantyPromise",
"durationOfWarranty": {
"@type": "QuantitativeValue",
"value": 3,
"unitCode": "ANN",
"unitText": "years"
},
"warrantyScope": "Parts and labor. Dead pixel policy: 3+ dead pixels. Does not cover physical damage or power surge."
}
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.5",
"reviewCount": "843",
"bestRating": "5"
},
"hasEnergyConsumptionDetails": {
"@type": "EnergyConsumptionDetails",
"energyEfficiencyScaleMin": {
"@type": "EUEnergyEfficiencyEnumeration",
"value": "EUEnergyEfficiencyCategoryG"
},
"energyEfficiencyScaleMax": {
"@type": "EUEnergyEfficiencyEnumeration",
"value": "EUEnergyEfficiencyCategoryA"
},
"hasEnergyEfficiencyCategory": {
"@type": "EUEnergyEfficiencyEnumeration",
"value": "EUEnergyEfficiencyCategoryB"
}
},
"hasCertification": [
{
"@type": "Certification",
"name": "ENERGY STAR Certified",
"certificationIdentification": "ESTAR-MON-2025-84921",
"issuedBy": {
"@type": "Organization",
"name": "U.S. Environmental Protection Agency",
"url": "https://www.energystar.gov"
},
"certificationStatus": "CertificationActive"
},
{
"@type": "Certification",
"name": "FCC ID Authorization",
"certificationIdentification": "2AVXY-PV274K144",
"issuedBy": {
"@type": "Organization",
"name": "Federal Communications Commission",
"url": "https://www.fcc.gov"
},
"certificationStatus": "CertificationActive"
},
{
"@type": "Certification",
"name": "CE Marking",
"issuedBy": {
"@type": "Organization",
"name": "European Commission"
},
"certificationStatus": "CertificationActive"
},
{
"@type": "Certification",
"name": "RoHS Compliant",
"issuedBy": {
"@type": "Organization",
"name": "European Commission — RoHS Directive 2011/65/EU"
},
"certificationStatus": "CertificationActive"
},
{
"@type": "Certification",
"name": "UL Listed",
"certificationIdentification": "UL-E123456",
"issuedBy": {
"@type": "Organization",
"name": "UL Solutions",
"url": "https://www.ul.com"
},
"certificationStatus": "CertificationActive"
}
],
"operatingSystem": "Windows 10/11, macOS 12+, ChromeOS, Linux",
"additionalProperty": [
{
"@type": "PropertyValue",
"propertyID": "screenSize",
"name": "Screen Size",
"value": {
"@type": "QuantitativeValue",
"value": 27,
"unitCode": "INH",
"unitText": "inches"
}
},
{
"@type": "PropertyValue",
"propertyID": "resolution",
"name": "Resolution",
"value": "3840x2160 (4K UHD)"
},
{
"@type": "PropertyValue",
"propertyID": "refreshRate",
"name": "Refresh Rate",
"value": {
"@type": "QuantitativeValue",
"value": 144,
"unitCode": "HZ",
"unitText": "Hz"
}
},
{
"@type": "PropertyValue",
"propertyID": "responseTime",
"name": "Response Time",
"value": "1ms GTG"
},
{
"@type": "PropertyValue",
"propertyID": "panelType",
"name": "Panel Type",
"value": "IPS"
},
{
"@type": "PropertyValue",
"propertyID": "inputType",
"name": "Inputs",
"value": "HDMI 2.1 (x2), DisplayPort 1.4 (x1), USB-C with 90W Power Delivery (x1)"
},
{
"@type": "PropertyValue",
"propertyID": "usbCPowerDelivery",
"name": "USB-C Power Delivery",
"value": {
"@type": "QuantitativeValue",
"value": 90,
"unitCode": "WTT",
"unitText": "W"
}
},
{
"@type": "PropertyValue",
"propertyID": "vesaMountCompatible",
"name": "VESA Mount",
"value": "100x100mm"
},
{
"@type": "PropertyValue",
"propertyID": "weight",
"name": "Weight (without stand)",
"value": {
"@type": "QuantitativeValue",
"value": 4.8,
"unitCode": "KGM",
"unitText": "kg"
}
},
{
"@type": "PropertyValue",
"propertyID": "powerConsumption",
"name": "Typical Power Consumption",
"value": {
"@type": "QuantitativeValue",
"value": 38,
"unitCode": "WTT",
"unitText": "W"
}
},
{
"@type": "PropertyValue",
"propertyID": "certificationStatus",
"name": "Certifications",
"value": "ENERGY STAR, FCC, CE, RoHS, UL Listed"
}
]
}
</script>
Complete JSON-LD Example: Laptop (Full Spec Sheet)
Laptops are the highest-specification-density product in consumer electronics. Every spec is a potential AI filter criterion. This example shows a complete laptop schema block covering processor, RAM, storage, display, battery, connectivity, OS, and warranty.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "NovaThin Pro 15 — Intel Core Ultra 7 — 16GB — 512GB SSD — 15.6\" FHD",
"description": "Ultra-thin business laptop. Intel Core Ultra 7 155H processor, 16GB LPDDR5 RAM, 512GB NVMe SSD, 15.6-inch FHD IPS display, 12-hour battery, Thunderbolt 4. Windows 11 Pro.",
"url": "https://example.com/products/novathin-pro-15",
"sku": "LAPT-NT15-U7-16-512",
"mpn": "NT15-U7155H-16G-512",
"gtin13": "4567890123456",
"brand": { "@type": "Brand", "name": "NovaTech" },
"offers": {
"@type": "Offer",
"price": "1099.00",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"url": "https://example.com/products/novathin-pro-15",
"warranty": {
"@type": "WarrantyPromise",
"durationOfWarranty": {
"@type": "QuantitativeValue",
"value": 1,
"unitCode": "ANN",
"unitText": "year"
},
"warrantyScope": "International limited warranty covering manufacturing defects. Battery warranty: 80% capacity retention guarantee for 1 year. Accidental damage not covered."
}
},
"hasCertification": [
{
"@type": "Certification",
"name": "ENERGY STAR Certified",
"issuedBy": {
"@type": "Organization",
"name": "U.S. Environmental Protection Agency",
"url": "https://www.energystar.gov"
},
"certificationStatus": "CertificationActive"
},
{
"@type": "Certification",
"name": "FCC ID Authorization",
"certificationIdentification": "2BQCD-NT15U7",
"issuedBy": {
"@type": "Organization",
"name": "Federal Communications Commission"
},
"certificationStatus": "CertificationActive"
},
{
"@type": "Certification",
"name": "RoHS Compliant",
"issuedBy": {
"@type": "Organization",
"name": "European Commission — RoHS Directive 2011/65/EU"
},
"certificationStatus": "CertificationActive"
},
{
"@type": "Certification",
"name": "WEEE Registered",
"issuedBy": {
"@type": "Organization",
"name": "WEEE Producer Registration — EU Directive 2012/19/EU"
},
"certificationStatus": "CertificationActive"
}
],
"operatingSystem": "Windows 11 Pro",
"additionalProperty": [
{
"@type": "PropertyValue",
"propertyID": "processorName",
"name": "Processor",
"value": "Intel Core Ultra 7 155H"
},
{
"@type": "PropertyValue",
"propertyID": "processorSpeed",
"name": "Max Turbo Speed",
"value": {
"@type": "QuantitativeValue",
"value": 4.8,
"unitCode": "GHZ",
"unitText": "GHz"
}
},
{
"@type": "PropertyValue",
"propertyID": "memoryCapacity",
"name": "RAM",
"value": {
"@type": "QuantitativeValue",
"value": 16,
"unitCode": "4-02",
"unitText": "GB LPDDR5"
}
},
{
"@type": "PropertyValue",
"propertyID": "storageCapacity",
"name": "Storage",
"value": {
"@type": "QuantitativeValue",
"value": 512,
"unitCode": "4-02",
"unitText": "GB NVMe SSD"
}
},
{
"@type": "PropertyValue",
"propertyID": "screenSize",
"name": "Screen Size",
"value": {
"@type": "QuantitativeValue",
"value": 15.6,
"unitCode": "INH",
"unitText": "inches"
}
},
{
"@type": "PropertyValue",
"propertyID": "resolution",
"name": "Resolution",
"value": "1920x1080 (FHD)"
},
{
"@type": "PropertyValue",
"propertyID": "batteryLife",
"name": "Battery Life",
"value": {
"@type": "QuantitativeValue",
"value": 12,
"unitCode": "HUR",
"unitText": "hours (mixed use)"
}
},
{
"@type": "PropertyValue",
"propertyID": "weight",
"name": "Weight",
"value": {
"@type": "QuantitativeValue",
"value": 1.58,
"unitCode": "KGM",
"unitText": "kg"
}
},
{
"@type": "PropertyValue",
"propertyID": "inputType",
"name": "Ports",
"value": "Thunderbolt 4 (x2), USB-A 3.2 (x2), HDMI 2.0, SD Card, 3.5mm audio"
},
{
"@type": "PropertyValue",
"propertyID": "connectivity",
"name": "Wireless",
"value": "Wi-Fi 6E (802.11ax), Bluetooth 5.3"
},
{
"@type": "PropertyValue",
"propertyID": "usbCCharging",
"name": "USB-C Charging",
"value": "Yes — 65W PD via Thunderbolt 4"
}
]
}
</script>
EU Energy Label with EnergyConsumptionDetails
The hasEnergyConsumptionDetails property maps directly to the EU Energy Label regulation (EU 2021/341 and product-specific delegated regulations). The EU Energy Label scale since 2021 runs from A (most efficient) to G (least efficient) — the old A+/A++/A+++ scale was retired. Use EUEnergyEfficiencyEnumeration values for the scale.
| EU Energy Label rating | EUEnergyEfficiencyEnumeration value | schema.org full URI |
|---|---|---|
| A | EUEnergyEfficiencyCategoryA |
https://schema.org/EUEnergyEfficiencyCategoryA |
| B | EUEnergyEfficiencyCategoryB |
https://schema.org/EUEnergyEfficiencyCategoryB |
| C | EUEnergyEfficiencyCategoryC |
https://schema.org/EUEnergyEfficiencyCategoryC |
| D | EUEnergyEfficiencyCategoryD |
https://schema.org/EUEnergyEfficiencyCategoryD |
| E | EUEnergyEfficiencyCategoryE |
https://schema.org/EUEnergyEfficiencyCategoryE |
| F | EUEnergyEfficiencyCategoryF |
https://schema.org/EUEnergyEfficiencyCategoryF |
| G | EUEnergyEfficiencyCategoryG |
https://schema.org/EUEnergyEfficiencyCategoryG |
Set energyEfficiencyScaleMin to EUEnergyEfficiencyCategoryG (lowest, least efficient) and energyEfficiencyScaleMax to EUEnergyEfficiencyCategoryA (highest, most efficient) for all EU products. The hasEnergyEfficiencyCategory is your product's actual rating. This is required for EU market compliance and enables AI filtering of "energy class A refrigerator" and similar queries.
"hasEnergyConsumptionDetails": {
"@type": "EnergyConsumptionDetails",
"energyEfficiencyScaleMin": {
"@type": "EUEnergyEfficiencyEnumeration",
"value": "EUEnergyEfficiencyCategoryG"
},
"energyEfficiencyScaleMax": {
"@type": "EUEnergyEfficiencyEnumeration",
"value": "EUEnergyEfficiencyCategoryA"
},
"hasEnergyEfficiencyCategory": {
"@type": "EUEnergyEfficiencyEnumeration",
"value": "EUEnergyEfficiencyCategoryB"
}
}
Electronics Certifications in hasCertification
Electronics certifications serve two functions in schema: they answer AI certification queries ("FCC approved WiFi router", "CE certified electronics") and they provide trust signals that help AI agents rank products in safety-sensitive categories (RF-emitting devices, power supplies).
| Certification | Market | Applies to | Issuing body |
|---|---|---|---|
| FCC ID | US | All RF-emitting devices (WiFi, Bluetooth, cellular, ZigBee) | Federal Communications Commission |
| CE Marking | EU/EEA | All electronic products sold in EU — self-declaration of conformity | European Commission (self-certified) |
| RoHS Compliant | EU/EEA | All electronic/electrical equipment — restricts lead, mercury, cadmium, etc. | EU Directive 2011/65/EU |
| WEEE Registered | EU/EEA | All electrical/electronic equipment — producer registration for e-waste | EU Directive 2012/19/EU |
| ENERGY STAR | US/Canada | Computers, monitors, TVs, appliances, lighting | U.S. EPA / Natural Resources Canada |
| UL Listed | US/Canada | Power supplies, chargers, appliances, surge protectors | UL Solutions |
| California Energy Tier | California (US) | Computers, monitors, TVs — Tier 1/Tier 2 efficiency | California Energy Commission |
| MFi Certified | Global | Apple accessory ecosystem — cables, docks, cases, adapters | Apple Inc |
| Wi-Fi Certified | Global | Wi-Fi devices — interoperability testing | Wi-Fi Alliance |
| Bluetooth Qualified | Global | Bluetooth devices — protocol compliance | Bluetooth SIG |
Refurbished Electronics Schema
Certified refurbished electronics is a fast-growing segment with high AI shopping query volume. The key schema pattern is combining itemCondition: RefurbishedCondition on the Offer with hasCertification for the specific refurbishment program. This distinguishes manufacturer-certified refurbished (with warranty) from generic "used" or third-party refurbished listings.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Sony WH-1000XM5 Wireless Noise Cancelling Headphones — Certified Refurbished",
"url": "https://example.com/products/sony-wh1000xm5-refurb",
"sku": "HP-SONY-XM5-RF-01",
"mpn": "WH-1000XM5",
"gtin13": "4548736132283",
"brand": { "@type": "Brand", "name": "Sony" },
"offers": {
"@type": "Offer",
"price": "249.00",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/RefurbishedCondition",
"warranty": {
"@type": "WarrantyPromise",
"durationOfWarranty": {
"@type": "QuantitativeValue",
"value": 90,
"unitCode": "DAY",
"unitText": "days"
},
"warrantyScope": "Sony Certified Refurbished limited warranty: 90-day coverage on all defects. Same service and support as new product warranty."
}
},
"hasCertification": [
{
"@type": "Certification",
"name": "Sony Certified Refurbished",
"issuedBy": {
"@type": "Organization",
"name": "Sony Electronics Inc.",
"url": "https://www.sony.com/en/articles/certified-refurbished"
},
"certificationStatus": "CertificationActive"
}
],
"additionalProperty": [
{
"@type": "PropertyValue",
"propertyID": "refurbishmentGrade",
"name": "Refurbishment Grade",
"value": "Grade A — Like New (no visible scratches, all original accessories included)"
},
{
"@type": "PropertyValue",
"propertyID": "refurbishmentProcess",
"name": "Refurbishment Process",
"value": "Inspected, tested, and certified by Sony authorized technicians. New ear pads and headband cushion included."
},
{
"@type": "PropertyValue",
"propertyID": "batteryLife",
"name": "Battery Life",
"value": {
"@type": "QuantitativeValue",
"value": 30,
"unitCode": "HUR",
"unitText": "hours"
}
},
{
"@type": "PropertyValue",
"propertyID": "connectivity",
"name": "Connectivity",
"value": "Bluetooth 5.2, 3.5mm wired, USB-C"
}
]
}
</script>
The gtin13 and mpn are critical for refurbished listings — they allow AI agents to find the original product specification sheet to fill in any missing spec data, and to compare the refurbished price against new prices at other retailers.
Accessory Compatibility with compatibleWith and operatingSystem
For electronics accessories — docks, hubs, cables, chargers, cases, adapters — compatibility is the primary purchase filter. A USB-C hub is only useful if it works with the buyer's laptop. Use compatibleWith and operatingSystem to make compatibility machine-readable.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "HubMate Pro 10-in-1 USB-C Hub — 4K HDMI, 100W PD, SD Card — MacBook/Windows",
"url": "https://example.com/products/hubmate-pro-10in1",
"sku": "HUB-HM10-USBC-01",
"gtin13": "5678901234567",
"brand": { "@type": "Brand", "name": "HubMate" },
"offers": {
"@type": "Offer",
"price": "69.99",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
},
"hasCertification": [
{
"@type": "Certification",
"name": "USB-IF Certified",
"issuedBy": {
"@type": "Organization",
"name": "USB Implementers Forum",
"url": "https://www.usb.org"
},
"certificationStatus": "CertificationActive"
},
{
"@type": "Certification",
"name": "CE Marking",
"issuedBy": {
"@type": "Organization",
"name": "European Commission"
},
"certificationStatus": "CertificationActive"
},
{
"@type": "Certification",
"name": "RoHS Compliant",
"issuedBy": {
"@type": "Organization",
"name": "European Commission — RoHS Directive 2011/65/EU"
},
"certificationStatus": "CertificationActive"
}
],
"operatingSystem": "macOS 11+, Windows 10/11, ChromeOS, iPadOS 16+",
"compatibleWith": [
{ "@type": "Product", "name": "MacBook Pro 14-inch (2021–2024)" },
{ "@type": "Product", "name": "MacBook Pro 16-inch (2021–2024)" },
{ "@type": "Product", "name": "MacBook Air 13-inch M2/M3" },
{ "@type": "Product", "name": "MacBook Air 15-inch M2/M3" },
{ "@type": "Product", "name": "iPad Pro 11-inch (USB-C models)" },
{ "@type": "Product", "name": "iPad Pro 13-inch (USB-C models)" },
{ "@type": "Product", "name": "Dell XPS 13/15 (USB-C)" },
{ "@type": "Product", "name": "Lenovo ThinkPad X1 Carbon (USB-C)" }
],
"additionalProperty": [
{
"@type": "PropertyValue",
"propertyID": "inputType",
"name": "Input Connection",
"value": "USB-C (Thunderbolt 3/4, USB 3.2 Gen 2)"
},
{
"@type": "PropertyValue",
"propertyID": "outputPorts",
"name": "Output Ports",
"value": "HDMI 2.0 (4K@60Hz), USB-A 3.0 (x3), USB-C Data (x1), SD Card, MicroSD, 3.5mm audio, RJ45 Ethernet"
},
{
"@type": "PropertyValue",
"propertyID": "usbCPowerDelivery",
"name": "Pass-Through Power Delivery",
"value": {
"@type": "QuantitativeValue",
"value": 100,
"unitCode": "WTT",
"unitText": "W (pass-through)"
}
},
{
"@type": "PropertyValue",
"propertyID": "appleCompatibility",
"name": "Apple Device Compatibility",
"value": "MacBook Pro (2016–2024), MacBook Air M1/M2/M3, iPad Pro (USB-C), iMac 24-inch, Mac mini (USB-C ports)"
},
{
"@type": "PropertyValue",
"propertyID": "displayOutput",
"name": "Max Display Output",
"value": "4K @ 60Hz via HDMI 2.0"
}
]
}
</script>
Shopify Metafield Architecture for Electronics
Create a tech metafield namespace in Shopify Admin → Settings → Custom data → Products. This namespace covers all electronics-specific schema signals.
| Metafield key | Type | Maps to | Example value |
|---|---|---|---|
tech.ram_gb |
Decimal | additionalProperty memoryCapacity |
16 |
tech.storage_gb |
Decimal | additionalProperty storageCapacity |
512 |
tech.screen_size_in |
Decimal | additionalProperty screenSize |
27 |
tech.resolution |
Single-line text | additionalProperty resolution |
3840x2160 |
tech.refresh_rate_hz |
Integer | additionalProperty refreshRate |
144 |
tech.battery_hours |
Decimal | additionalProperty batteryLife |
12 |
tech.weight_kg |
Decimal | additionalProperty weight |
1.58 |
tech.processor |
Single-line text | additionalProperty processorName |
Intel Core Ultra 7 155H |
tech.ports |
Multi-line text | additionalProperty inputType |
Thunderbolt 4 (x2), USB-A 3.2 (x2), HDMI 2.0 |
tech.operating_system |
Single-line text | operatingSystem |
Windows 11 Pro |
tech.compatible_with |
Multi-line text | compatibleWith (one device per line) |
MacBook Pro 14-inch
MacBook Air M2 |
tech.certifications |
JSON | hasCertification array |
[{"name":"ENERGY STAR","id":"ESTAR-MON-2025-84921","issuer":"U.S. EPA"}] |
tech.eu_energy_class |
Single-line text | hasEnergyConsumptionDetails hasEnergyEfficiencyCategory |
B |
tech.warranty_years |
Decimal | WarrantyPromise durationOfWarranty |
3 |
tech.warranty_scope |
Multi-line text | WarrantyPromise warrantyScope |
Parts and labor. Dead pixel policy: 3+ pixels. |
tech.item_condition |
Single-line text | Offer itemCondition |
New or Refurbished |
tech.refurb_grade |
Single-line text | additionalProperty refurbishmentGrade |
Grade A — Like New |
Shopify Liquid Snippet for Electronics Schema
This snippet reads from tech.* metafields and outputs the complete electronics Product JSON-LD block. It conditionally outputs energy consumption details, certification array, OS compatibility, and warranty — only for fields that have metafield values populated.
{% comment %} tech-schema.liquid — outputs electronics tech spec JSON-LD {% endcomment %}
{% assign is_electronics = false %}
{% if product.type == 'Electronics' or product.type == 'Laptop' or product.type == 'Monitor'
or product.type == 'TV' or product.type == 'Headphones' or product.type == 'Tablet'
or product.type == 'Smart Home' or product.type == 'Router' or product.type == 'Accessory' %}
{% assign is_electronics = true %}
{% endif %}
{% if product.metafields.tech.ram_gb != blank or product.metafields.tech.screen_size_in != blank %}
{% assign is_electronics = true %}
{% endif %}
{% if is_electronics %}
{% assign t_ram = product.metafields.tech.ram_gb %}
{% assign t_storage = product.metafields.tech.storage_gb %}
{% assign t_screen = product.metafields.tech.screen_size_in %}
{% assign t_resolution = product.metafields.tech.resolution %}
{% assign t_hz = product.metafields.tech.refresh_rate_hz %}
{% assign t_battery = product.metafields.tech.battery_hours %}
{% assign t_weight = product.metafields.tech.weight_kg %}
{% assign t_processor = product.metafields.tech.processor %}
{% assign t_ports = product.metafields.tech.ports %}
{% assign t_os = product.metafields.tech.operating_system %}
{% assign t_compat_raw = product.metafields.tech.compatible_with %}
{% assign t_certs_json = product.metafields.tech.certifications %}
{% assign t_eu_energy = product.metafields.tech.eu_energy_class %}
{% assign t_warr_yrs = product.metafields.tech.warranty_years %}
{% assign t_warr_scope = product.metafields.tech.warranty_scope %}
{% assign t_condition = product.metafields.tech.item_condition %}
{% assign t_refurb = product.metafields.tech.refurb_grade %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": {{ product.title | json }},
"description": {{ product.description | strip_html | truncatewords: 60 | json }},
"url": "{{ shop.url }}{{ product.url }}",
"sku": {{ product.selected_or_first_available_variant.sku | json }},
{% if product.selected_or_first_available_variant.barcode != blank %}
"gtin13": {{ product.selected_or_first_available_variant.barcode | json }},
{% endif %}
{% if product.metafields.seo.mpn != blank %}
"mpn": {{ product.metafields.seo.mpn | json }},
{% endif %}
"brand": { "@type": "Brand", "name": {{ product.vendor | json }} },
{% if t_os != blank %}
"operatingSystem": {{ t_os | json }},
{% endif %}
"offers": {
"@type": "Offer",
"price": {{ product.selected_or_first_available_variant.price | money_without_currency | json }},
"priceCurrency": {{ cart.currency.iso_code | json }},
"availability": {% if product.available %}"https://schema.org/InStock"{% else %}"https://schema.org/OutOfStock"{% endif %},
"url": "{{ shop.url }}{{ product.url }}"
{% if t_condition == "Refurbished" %}
,"itemCondition": "https://schema.org/RefurbishedCondition"
{% else %}
,"itemCondition": "https://schema.org/NewCondition"
{% endif %}
{% if t_warr_yrs != blank %}
,"warranty": {
"@type": "WarrantyPromise",
"durationOfWarranty": {
"@type": "QuantitativeValue",
"value": {{ t_warr_yrs }},
"unitCode": "ANN",
"unitText": "{% if t_warr_yrs == '1' %}year{% else %}years{% endif %}"
}
{% if t_warr_scope != blank %}
,"warrantyScope": {{ t_warr_scope | json }}
{% endif %}
}
{% endif %}
}
{% if t_eu_energy != blank %}
{% assign eu_map_A = "EUEnergyEfficiencyCategoryA" %}
{% assign eu_map_B = "EUEnergyEfficiencyCategoryB" %}
{% assign eu_map_C = "EUEnergyEfficiencyCategoryC" %}
{% assign eu_map_D = "EUEnergyEfficiencyCategoryD" %}
{% assign eu_map_E = "EUEnergyEfficiencyCategoryE" %}
{% assign eu_map_F = "EUEnergyEfficiencyCategoryF" %}
{% assign eu_map_G = "EUEnergyEfficiencyCategoryG" %}
{% assign eu_value = eu_map_A %}
{% if t_eu_energy == "B" %}{% assign eu_value = eu_map_B %}{% endif %}
{% if t_eu_energy == "C" %}{% assign eu_value = eu_map_C %}{% endif %}
{% if t_eu_energy == "D" %}{% assign eu_value = eu_map_D %}{% endif %}
{% if t_eu_energy == "E" %}{% assign eu_value = eu_map_E %}{% endif %}
{% if t_eu_energy == "F" %}{% assign eu_value = eu_map_F %}{% endif %}
{% if t_eu_energy == "G" %}{% assign eu_value = eu_map_G %}{% endif %}
,"hasEnergyConsumptionDetails": {
"@type": "EnergyConsumptionDetails",
"energyEfficiencyScaleMin": { "@type": "EUEnergyEfficiencyEnumeration", "value": "EUEnergyEfficiencyCategoryG" },
"energyEfficiencyScaleMax": { "@type": "EUEnergyEfficiencyEnumeration", "value": "EUEnergyEfficiencyCategoryA" },
"hasEnergyEfficiencyCategory": { "@type": "EUEnergyEfficiencyEnumeration", "value": {{ eu_value | json }} }
}
{% endif %}
{% if t_certs_json != blank %}
{% assign certs = t_certs_json | parse_json %}
,"hasCertification": [
{% for cert in certs %}
{
"@type": "Certification",
"name": {{ cert.name | json }},
{% if cert.id != blank %}"certificationIdentification": {{ cert.id | json }},{% endif %}
"issuedBy": { "@type": "Organization", "name": {{ cert.issuer | json }} }
}{% unless forloop.last %},{% endunless %}
{% endfor %}
]
{% endif %}
{% if t_compat_raw != blank %}
{% assign compat_items = t_compat_raw | newline_to_br | split: '
' %}
,"compatibleWith": [
{% for item in compat_items %}
{% unless item == blank %}
{ "@type": "Product", "name": {{ item | strip | json }} }{% unless forloop.last %},{% endunless %}
{% endunless %}
{% endfor %}
]
{% endif %}
,"additionalProperty": [
{% if t_processor != blank %}
{ "@type": "PropertyValue", "propertyID": "processorName", "name": "Processor", "value": {{ t_processor | json }} },
{% endif %}
{% if t_ram != blank %}
{ "@type": "PropertyValue", "propertyID": "memoryCapacity", "name": "RAM", "value": { "@type": "QuantitativeValue", "value": {{ t_ram }}, "unitCode": "4-02", "unitText": "GB" } },
{% endif %}
{% if t_storage != blank %}
{ "@type": "PropertyValue", "propertyID": "storageCapacity", "name": "Storage", "value": { "@type": "QuantitativeValue", "value": {{ t_storage }}, "unitCode": "4-02", "unitText": "GB" } },
{% endif %}
{% if t_screen != blank %}
{ "@type": "PropertyValue", "propertyID": "screenSize", "name": "Screen Size", "value": { "@type": "QuantitativeValue", "value": {{ t_screen }}, "unitCode": "INH", "unitText": "inches" } },
{% endif %}
{% if t_resolution != blank %}
{ "@type": "PropertyValue", "propertyID": "resolution", "name": "Resolution", "value": {{ t_resolution | json }} },
{% endif %}
{% if t_hz != blank %}
{ "@type": "PropertyValue", "propertyID": "refreshRate", "name": "Refresh Rate", "value": { "@type": "QuantitativeValue", "value": {{ t_hz }}, "unitCode": "HZ", "unitText": "Hz" } },
{% endif %}
{% if t_battery != blank %}
{ "@type": "PropertyValue", "propertyID": "batteryLife", "name": "Battery Life", "value": { "@type": "QuantitativeValue", "value": {{ t_battery }}, "unitCode": "HUR", "unitText": "hours" } },
{% endif %}
{% if t_weight != blank %}
{ "@type": "PropertyValue", "propertyID": "weight", "name": "Weight", "value": { "@type": "QuantitativeValue", "value": {{ t_weight }}, "unitCode": "KGM", "unitText": "kg" } },
{% endif %}
{% if t_ports != blank %}
{ "@type": "PropertyValue", "propertyID": "inputType", "name": "Ports / Inputs", "value": {{ t_ports | json }} },
{% endif %}
{% if t_refurb != blank %}
{ "@type": "PropertyValue", "propertyID": "refurbishmentGrade", "name": "Refurbishment Grade", "value": {{ t_refurb | json }} },
{% endif %}
{ "@type": "PropertyValue", "propertyID": "productCategory", "name": "Category", "value": {{ product.type | json }} }
]
}
</script>
{% endif %}
Save as snippets/tech-schema.liquid and render from your product template: {% raw %}{% render 'tech-schema' %}{% endraw %}. For the mpn field, the snippet reads from product.metafields.seo.mpn — this is a common shared namespace. Adjust to product.metafields.tech.mpn if you prefer to store it in the tech namespace.
5 Common Electronics Schema Mistakes
| # | Mistake | Impact | Fix |
|---|---|---|---|
| 1 | Technical specs as plain string values ("16GB DDR5") instead of QuantitativeValue with unitCode |
AI agents cannot apply numeric range filters ("RAM >= 16GB") to string values. Every spec-based query — which is nearly every electronics query — fails to match | Use QuantitativeValue with a numeric value and UN/CEFACT unitCode for every spec that has a measurable magnitude (RAM, storage, screen size, battery, weight, refresh rate) |
| 2 | Missing sku, mpn, and gtin13 identifiers |
AI price-comparison agents cross-reference products across stores using these identifiers. Without them, your store is invisible in price-comparison results — the highest-intent electronics query type. Missing GTIN also prevents Google Shopping and product knowledge panel integration | Populate all three: sku (your internal identifier), mpn (manufacturer part number from the manufacturer's spec sheet), and gtin13 (the product barcode) on every electronics product |
| 3 | Using ElectronicDevice or ConsumerElectronics as the schema @type |
Neither ElectronicDevice nor ConsumerElectronics are valid schema.org types. Using them produces an invalid schema block that search engines and AI agents skip entirely. Validators will flag the type as unrecognized |
Use Product for all hardware. Reserve SoftwareApplication exclusively for software distributed as an installable or cloud application. Hardware always uses Product regardless of how "electronic" or "tech" it is |
| 4 | EU Energy Label rating only in product description or image — not in hasEnergyConsumptionDetails |
EU regulations require the Energy Label to be accessible. AI agents filtering "energy class A monitor" cannot match from image text or description. This is both a schema visibility gap and a potential EU compliance issue for online sellers | Add hasEnergyConsumptionDetails with the correct EUEnergyEfficiencyEnumeration value. Set both the scale min/max (G to A) and the product's actual rating. Store in tech.eu_energy_class metafield |
| 5 | Refurbished products without itemCondition: RefurbishedCondition or certification |
Certified refurbished products sold without condition markup are treated as new by AI agents — creating a trust mismatch when buyers discover the product is refurbished. Also, the key differentiator (manufacturer certification + warranty) is invisible without hasCertification |
Set itemCondition: "https://schema.org/RefurbishedCondition" on the Offer. Add hasCertification for the specific refurbishment program. Include a WarrantyPromise so AI agents surface the warranty coverage for refurbished-specific queries like "certified refurbished laptop with warranty" |
Frequently Asked Questions
Should I use a different schema @type for electronics products — like ElectronicDevice or ConsumerElectronics?
Use the standard Product type for all consumer electronics hardware. ElectronicDevice and ConsumerElectronics are not valid schema.org types — using them produces an invalid schema block that validators reject and AI agents skip. SoftwareApplication is only for software products. For hardware (laptops, monitors, headphones, routers, TVs, smart home devices, peripherals), use Product and encode all technical differentiation via additionalProperty with QuantitativeValue objects.
What UN/CEFACT unit codes should I use for electronics specs?
Key codes: storage/RAM in GB = 4-02; storage in TB = 4-03; screen size in inches = INH; battery life in hours = HUR; weight in kg = KGM, in lbs = LBR; dimensions in cm = CMT, in inches = INH; refresh rate in Hz = HZ; power in watts = WTT; processor speed in GHz = GHZ. Always pair unitCode with a human-readable unitText. AI agents use unitCode for numeric filtering and unitText for display in responses.
How do I add EU Energy Label ratings to Shopify product schema?
Use hasEnergyConsumptionDetails on the Product with an EnergyConsumptionDetails object. Set energyEfficiencyScaleMin to EUEnergyEfficiencyCategoryG, energyEfficiencyScaleMax to EUEnergyEfficiencyCategoryA, and hasEnergyEfficiencyCategory to your product's actual rating. For US EnergyStar, use hasCertification — it is a binary pass/fail certification, not a scale. Do not use EnergyConsumptionDetails for EnergyStar.
How do I mark a product as manufacturer-certified refurbished in electronics schema?
Set itemCondition: "https://schema.org/RefurbishedCondition" on the Offer. Add hasCertification for the specific program (Apple Certified Refurbished, Dell Certified Refurbished, etc.) with the manufacturer as issuedBy. Add additionalProperty with propertyID: "refurbishmentGrade" for the grade (Grade A — Like New). Include a WarrantyPromise to surface warranty coverage in AI responses. The gtin13 and mpn identifiers are especially critical for refurbished — they allow AI agents to find the original spec sheet and compare refurbished vs. new prices.
How do I signal MFi certification and Apple compatibility for accessories?
Add hasCertification with name: "MFi Certified" and issuedBy Organization name: "Apple Inc". Use compatibleWith to list each compatible Apple device or device family as a Product object. Also add an additionalProperty with propertyID: "appleCompatibility" listing compatible devices as a comma-separated string. Set operatingSystem to include "macOS" and "iPadOS" where applicable. "MFi certified USB-C cable for iPhone 16" is a high-volume accessory query that requires structured compatibility signals — not just "compatible with Apple devices" in the description text.
Related Resources
- Shopify Product Specifications Schema — Structured Spec Tables & PropertyValue
- Shopify Warranty & Guarantee Schema — WarrantyPromise JSON-LD
- Shopify Pre-Owned & Resale Condition Schema — itemCondition & Auth
- Shopify ProductGroup hasVariant Schema — Multi-Variant Structured Data
- E-commerce Product Weight & Dimensions Schema — UN/CEFACT Unit Codes
- Shopify GTIN & Barcode Guide — Encoding GTINs for AI Price Comparison
- Product Safety Certifications Schema — FCC, CE, RoHS, UL in JSON-LD
- Shopify Software Application Schema — SoftwareApplication JSON-LD
- CatalogScan Blog — AI Shopping Agent Optimization
Is your electronics catalog visible to AI spec-matching queries?
CatalogScan scans your Shopify store for missing tech specs, absent unit codes, invalid schema types, and broken GTIN/MPN identifiers across your entire electronics catalog in minutes.
Run Free Scan