Editing Category Metafields
You can use Ablestar Bulk Product Editor to quickly and easily bulk edit Category metafields.
Category metafields are part of Shopify's product taxonomy and allow you to map defined structured attributes based on a product's category.
1. In-App Edits
In this example, we are editing the 'Color' category metafields and have selected the 'Field to edit' and 'How to edit' fields already:
If you don't see your options in the dropdown read the Syncing Category Metafield Options section below.
Next, we will specify the color to update. Note that in our example only 4 color options are available from the dropdown list. These are the colors that are pulling directly from the product data in Shopify:
If we need more color options, we would first have to add the color to any product on the store as a category metafield and then after a data sync, the option would be become visible here.
2. Spreadsheet Edits
Prepare your spreadsheet to include new or modified Category Metafield data to replace or add to existing data. Ensure that you specify a product-level identifier in the first column and the action items in the 2nd and subsequent columns.
We are able to parse these formats:
- JSON format: using the Shopify Global ID with the metaobject handle, formatted without additional spacing, using brackets and quotes, as:
["gid://shopify/Metaobject/123","gid://shopify/Metaobject/456"]
- Comma-separated content: using no other punctuation, similar to:
blue,red,yellow
Handle | Color |
my-product | ["gid://shopify/Metaobject/123","gid://shopify/Metaobject/456"] |
new-product | blue,red,yellow |
💡 Syncing Category Metafield Options
The options for a category metafield are stored on your store as metaobjects and are only created when you first assign that option to a product.
For example, if this were the only product on the Shopify store with the 'Color' category metafield, the only options you would see in the app would be Blue and Bronze:
If you do not see the option you want in the dropdown list do the following:
- Make sure that at least on product in your store already has a category metafield set to that option
- Refresh the metaobjects data in the app by:
- Going to Settings → Shopify data
- Clicking on the refresh icon next to 'Metaobjects'
- Waiting a minute and reloading the app
✅ Tips and Troubleshooting
- Learn how to create and define metaobjects on this Shopify article
- Category metafields are a type of metaobjects and the data is only synced periodically. Learn more about Keeping Shopify Data in Sync.
- Learn more about Shopify's Global ID formats
(04.278)