Variant Metafields

New Member
2 0 0

Hi, everyone!

I was wondering if it was possible to group variant options based on their respective metafields. I work with multiple brands on a referral basis, and have created metafields for each variant that specify which brand is related to which metafield. I want to be able to group the variants together based on that information. One, so the variant list isn't astronomical, and also so it's easier to parse through the data visually. 

Just as an example, let's say this product is sold by "First Test Company" and also sold by "Second Test Company". On the product page, I would like to group the variants that have the brand metafield of "First Test Company" in one list and then group the variants of "Second Test Company" in another list.

Let me know if you have any additional questions or if there's any solutions that come to mind.