How to Hide Metafields Product Variant Assigned

Hi Fellow Shopify Developer
Would like to ask regarding with my issue about metafield named with Variant Archive = True, I got lots of products here on shopify, and some of products has Variants as well. My concern is some of variants aren’t available on this season, so I assign them into metafields (see the image below). Now I want all product Variants who assign in Metafield with a name type of “Variant Archive = true” are going to hide in front-end page.

I hope anyone can help me with this Issue.. thank you

Here’s the screen shot image stock:
https://imageupload.io/aNKKi8rHsLohXVL

https://imageupload.io/6kmfQsDEaMt7PWu

You need to change the code and apply the appropriate condition show that certain variant not showing in storefont.