Welcome to the Eight Themes Docs

How to set up an Icon list block with metafields

Step 1: Define a icon list metafield

You can create a dynamic icon list block by adding metafields to your products.

  1. Within your Shopify admin, go to Settings.
  2. Go to Metafields.
  3. Select Products and click Add definition.mceclip0.png
  4. The namespace for your metafield should be icon.
  5. The key for your metafield should be list.
  6. From the content type select file and list of files.

mceclip1.png

 

Step 2: Assign metafields to your products

You can now assign your metafields to your products.

  1. Within your Shopify settings, go to Products.
  2. Select the relevant product.
  3. Scroll down to the metafield option and select the icon.list metafield you defined above.
  4. From here, you can add the image files that you want to be displayed as icons.

 

Was this article helpful?