All things Shopify and commerce
Hey all,
I am trying to upload changes to specific product fields (actually meta data).
I downloaded my product file, removed all columns except handle, title, Variant SKU and the various metafield columns.
I was effectively looking to do a "partial update" to my products.
However when I go to upload it says "src" is missing. I assume it wants the image source column. I am not wanting to change any other details other than my metafield data.
Is that even possible or do I have to include all columns?
Many thanks.
Solved! Go to the solution
This is an accepted solution.
Hi @Charming_Beads,
You shouldn't need to include the image columns when you're doing the updating. I'm wondering if the error is related to the type of the metafield you're updating. Are they all text metafields or do you have some other types of metafields as well?
Best,
Daniel
This is an accepted solution.
Hi @Charming_Beads,
To update the products tick "Overwrite products with matching handles" and untick "Publish new products to all sales channels" like you mentioned. (I don't think "Publish new products to all sales channels" will have any effect because you're just updating new products but it's better to be safe).
I'd also recommend:
It can be easy to accidentally delete data if you include blank columns or adjust the option1/2/3 columns so it's always safer to test and have a backup first.
Best,
Daniel
Hi,
Hope following will help
- You can use Shopify’s API for direct metafield updates.
- Update metafields via Shopify’s Bulk Editor at admin interface.
Thank you but it was relating to upload csv, not a bulk editor. I didn't know about the bulk editor though, so that may come in handy for small edits thanks!
This is an accepted solution.
Hi @Charming_Beads,
You shouldn't need to include the image columns when you're doing the updating. I'm wondering if the error is related to the type of the metafield you're updating. Are they all text metafields or do you have some other types of metafields as well?
Best,
Daniel
Hi Daniel,
Hi Daniel,
Yes that is the answer thanks!
When I rechecked I had accidentally left the alt image text column in there. Makes total sense now.
Sorry can I please ask one more quick question ...
I only want to update the fields from the columns present in my file, and not the whole product.
Do I tick "Overwrite products with matching handles" and untick "Publish new products to all sales channels" OR do I untick both please?
Many thanks,
Paul
This is an accepted solution.
Hi @Charming_Beads,
To update the products tick "Overwrite products with matching handles" and untick "Publish new products to all sales channels" like you mentioned. (I don't think "Publish new products to all sales channels" will have any effect because you're just updating new products but it's better to be safe).
I'd also recommend:
It can be easy to accidentally delete data if you include blank columns or adjust the option1/2/3 columns so it's always safer to test and have a backup first.
Best,
Daniel
Hey Daniel,
Thank you so much - I tried it with one product and it worked like a dream, only updating the metafield data fields and leaving the other data in tact.
The issue I had faced is that an app that migrated my products from another platform did an okay job with the metafield data but blank fields were filled with a 0. So I wanted to basically get rid of the 0s for blanks. And that just worked great.
And that's also great advice to save a copy of the full product data and only tes on one or two products.
Thanks for your help - it was much appreciated!
Kind regards,
Paul
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024