Shopify's 128 element limit for metafields ?

I’ve created a metfield in my store to add an extra filter type “Brands” to my store’s filter, however I have around 300 brands to add as elements to the created “Filter by brand” metafield but shopify apparently have a limit of 128.

It states

“Validations value for option choices has more than 128 elements.”

What options/walkarounds do I have to add all my remaining brands as elements?

Hi @Loz86 ,

I wounder why you are using metafields for brand filter. Brand filter is by default present on the site. The vendor attribute on each product is used as a brand which can be used as a collection filter.

Is there any other reason why you have created Metafields for the brand?

Hi @theycallmemakka

Thanks very much for the reply.

I had noticed vendor in the filter options but never actually knew I could do it that way.

So thank you for pointing that out!

I had read somewhere before making this post that metafields was a way of achieving what I wanted, which was correct and did work up until I hit the 128 element metafield limit imposed by shopify.

Hi @Loz86

Instead of using the metafield, you can use the vendor or tags fields as a substitute for the brand.

Hi @magenest

Thank you, yes @theycallmemakka pointed that out to me above the other day.

Hi all,

We are now facing the same issue, but the metafield in question is not used for brand names. Do you have any other suggestions or workarounds?

Thanks.

Same here.

I use order metafields for the unique order value.
But now I have a lot of orders and not all the values are filterable.

Is there any documentation about metafield value and metafield filter limits?