All things Shopify and commerce
So when importing a product CSV file with metaobject references, any metafield containing metaobject references must use the ID, e.g.:
["gid://shopify/Metaobject/7110654347","gid://shopify/Metaobject/7110682215"]
This is super inconvenient to the point of being almost unusable, necessitating looking up and matching IDs to handles. The handles must be unique, so why not just use the handle as the reference?!
And as a kicker, when testing I had a few import errors that are even more indecipherable e.g:
UPDATE: Found by ID | Value: must belong to the specified metaobject definition gid://shopify/MetaobjectDefinition/312872443.
The insane thing about this is that these metaobject definition IDs returned by shopify are not published or available anywhere (it's not in the URL as usual), so it's next to impossible to locate the error.
I'm using matrixify to import / export, but I assume this applies to all apps/methods. I've been back and forward with both matrixify support and shopify support with no progress.
All of this would go away if shopify would allow the use of handles instead of meaningless IDs to reference metaobjects.
Anyone have any ideas? — if I can't solve this then I'll be forced to ditch any use of metaobjects — they seem half-baked at best right now...
Maybe store the ID as a metafield?
Is this still the case? I have the same issue I'm trying to resolve right now.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024