Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Reference a metafield in schema

Reference a metafield in schema

DavidCab
Shopify Partner
68 3 22

I want to update a Video Section. 

I want the Video URL to accept metafields.

I have a dedicated metafield for products that contains a URL. 

I cannot figure out for the life of me how to do it.

I even tried hard coding the URL metafield into the schema of the section but it does not allow that. 

 

Any help please. 

Reply 1 (1)

mttd
Shopify Partner
22 0 13

I've just gone to do exactly the same thing, found your post and nothing more on it...

 

Frustrating, there should either be a dedicated field type in the metafields definitions or you should be able to specify a URL field type as being for video which restricts it to Vimeo & YT.

So frustrating as you port so much over to use dynamic references, but then you can't for one thing so you're left with a toe in the water...