Skip to product information
1 of 1
Published:2023.06.25

How to get the number of registered metafields for "File (List)" in Shopify's Liquid

How to get the number of registered metafields for "File (List)" in Shopify's Liquid

Applications

  • LIQUIDEdit
View full details

In Shopify's metafield, you can set multiple values in the "list" format, but when I set the type to "file," I was confused because I didn't know how to get the number of registered values. I thought I could get it using the "size" that is common in liquid, but I was able to get it by using count.


Related Post