Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I created a lot of product metafields recently using GraphQL.
Unfortunately I did not define them before creating each product metafield, so they are not easily accessible in the admin interface.
So I'd like to define them so they show up when I click on a product to edit it.
If I go to the 'Custom Data' tab in the admin settings, and click 'Product metafield definitions', then click the 'Metafields without a definition' tab, I can see all of these metafields without definitions and the number of references.
If I click 'Add Definition' next to one of these properties, it appears I can define them, but when I try to 'Select type', all of the types I need are greyed out.
It won't let me pick 'File', despite the fact that every metafield with the same key is a file reference.
Is there any way around this?
Anyone?
You can watch this video to understand how these metafield works and how to create them with definition and without definition: Shopify App Metafields
Hi, @twilson90.
Are you trying this on desktop or mobile? Some metafield settings can be greyed out on mobile, so if you are using a mobile device I'd recommend trying this on desktop to see if you can select the option you'd like. If it's still not working for you, please contact our support team through the Help Center here so we can look into this with you in more detail. If you are a Shopify Partner you can also contact us through the "Support" tab in your Partner dashboard.
Erin | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
+1
I am having precisely this same problem. I cannot create a definition with type "file_reference" on unstructured metafields created by graphql. This has caused major problems for my client.
Hey 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, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024