We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Amending metafield from list value to one value

Solved

Amending metafield from list value to one value

gruff
Tourist
27 0 2

Hi, 

 

Trying to amend a metafield from list of values to one value. Followed the instructions:

 

To change a metafield from a list of values to one value, you need to edit the metafield definition.

1. Go to Settings > Custom data in your Shopify admin.
2. Click the metafield you want to edit.
3. Uncheck the 'Accept list of values' box.
4. Click Save.


Can't see "Accept list of values" box. Does anyone know how to amend a metafield to one value?

 

Thanks

Accepted Solution (1)

RaimaNasir
Tourist
7 2 1

This is an accepted solution.

You can create a new single line text metafield with one value and updating those.

The process would be:

1) Download the product metafields data into excel through an app like Matrixify.

2) Find the old metafield you wnat to amend. The values in the sheet would be in a format like this:

  [“List Value 1”, “List Value 2”, “List Value 3”]
3) Create a new metafield on Shopify with only one value instead of list option. Add the new metadield in the sheet

4) To merge the list values into one single line, you can select the old column and use the Find+Replace function to remove “” and [ ] 

 

The updated values should look like Value 1, Value 2, Value 3

5) Upload the product CSV again and now you would have a new metafield with all your required values. You can delete the old one or keep it.

 

View solution in original post

Replies 2 (2)

gruff
Tourist
27 0 2

Anyone have any experience of changing this?

RaimaNasir
Tourist
7 2 1

This is an accepted solution.

You can create a new single line text metafield with one value and updating those.

The process would be:

1) Download the product metafields data into excel through an app like Matrixify.

2) Find the old metafield you wnat to amend. The values in the sheet would be in a format like this:

  [“List Value 1”, “List Value 2”, “List Value 3”]
3) Create a new metafield on Shopify with only one value instead of list option. Add the new metadield in the sheet

4) To merge the list values into one single line, you can select the old column and use the Find+Replace function to remove “” and [ ] 

 

The updated values should look like Value 1, Value 2, Value 3

5) Upload the product CSV again and now you would have a new metafield with all your required values. You can delete the old one or keep it.