I can no longer bulk edit metafields for my products - why is this?

Solved
ianantwalks
Excursionist
39 2 6

Hello Everyone.

 

I'm not sure why but up until recently, when I went to bulk edit products, it added a field category called metafields where I could select metafield values populated from Metafields2.

 

I'm not sure how I managed it but I did a quick sync in Metafields2, and added some new metafield values, and then when I go to bulk edit products now, the metafields are no longer there.


Capture.PNG

 

How can I get them selectable here again?

 

I did some research and discovered a way to bulk edit single product metafields, via a URL, like this:

https://SHOPNAME.myshopify.com/admin/bulk?resource_name=ProductVariant&show= image,full_title,variants&edit=metafields.global.description_tag:string

This is only for one metafield value.  How can I either get all the custom metafield values to be editable again, or append the URL to allow me to edit more than one metafield at once?

Thanks for any help.

Ian

 

 

Accepted Solution (1)

Accepted Solutions
ianantwalks
Excursionist
39 2 6

This is an accepted solution.

I'm replying to this in case anyone has the same issue.

 

It seems that to edit metafields you must mess around with the edit URL to include the metafields you want to edit.  They will then appear in the Shopify bulk editor and you edit them there.

 

Like this:

 

https://SHOPNAME.myshopify.com/admin/bulk?resource_name=ProductVariant&show= image,full_title,variants&edit=metafields.global.description_tag:string

Edit the part in bold based on the metafield you want to edit.

View solution in original post

Replies 4 (4)
ianantwalks
Excursionist
39 2 6

This is an accepted solution.

I'm replying to this in case anyone has the same issue.

 

It seems that to edit metafields you must mess around with the edit URL to include the metafields you want to edit.  They will then appear in the Shopify bulk editor and you edit them there.

 

Like this:

 

https://SHOPNAME.myshopify.com/admin/bulk?resource_name=ProductVariant&show= image,full_title,variants&edit=metafields.global.description_tag:string

Edit the part in bold based on the metafield you want to edit.

Chammond101
Tourist
6 0 4

That is perfect! Thank you so much for the solution. 

I do have one question however, is there a url that can show/edit each of the custom metafields all at once? 

I have 3 different metafields and would love to edit them side-by-side all at once. 

Any thoughts?

 

Regards,

-C

JasonN_YT
New Member
1 0 0

You can comma-separate the metafield names!

 

So, for editing namespace_a.key_1 + namespace_b.key_2 + namespace_c.key_3

https://SHOPNAME.myshopify.com/admin/bulk?resource_name=Product&edit=metafields.namespace_a.key_1,me...

If your browser doesn't translate the comma to its proper url-encoded version (%2C), here's that:

https://SHOPNAME.myshopify.com/admin/bulk?resource_name=Product&edit=metafields.namespace_a.key_1%2C...

 

Hope this helps! 🙂

Yurith
Shopify Partner
8 0 0

Hi Ianantwalks, I am testing the url but it is not working, do you know if it has changed?