Hi,
I’m looking to add metafields to a product based on the variant product inventory levels. The metafield will be for sizes, which will be used for customers to filter with.
Basically, if a variant product inventory level is = 0, then I want to remove the size from the metafield, and if its >0 then add the size to the metafield. In my mind the metafield should be a list of values, so it can store multiple values such as S, M, L, XL.
However I am having trouble figuring out how to do this on shopify flow. Does anyone have any pointers?