HS Code now set from deprecated metafield when present

When importing products, we now set Variant HS Code from the legacy global.harmonized_system_code metafield if detected.

ProductsImports

Changelog

August 29, 2025


Shopify no longer supports storing HS codes in the global.harmonized_system_code metafield. To keep imports working as expected, we now apply its value directly to variants.


🚀 What’s New

  • HS Code fallback – when we detect the global.harmonized_system_code metafield during import, we set the variant’s HS Code (on the InventoryItem) to that value (see docs).

⚠️ Heads-up

  • Metafield deprecation – Shopify no longer supports using global.harmonized_system_code to store HS codes. Use the Variant HS Code field instead.