I’m trying to retrieve specific keys of a metafield and display them dynamically.
{{ product.metafields.product_tabs }} // Returns an array
{{ product.metafields.product_tabs | first }} // This works
{{ product.metafields.product_tabs[0] }} // This does not
So I’m assuming that the keys in metafields are an array because when called, it returns an array. However, when using Index[0], it does not return anything.
What’s going on?
Also: any other way to display the keys (not values) of a metafield?
Thank you for your help!