Fairground docs

Department metafields

You only need these if a collection is missing from the menu and you still want a trail and a child list.

Create each field once. Then fill it on each collection.

Create the fields

  1. In Shopify admin, click Settings.
  2. Click Custom data.
  3. Click Collections.
  4. Click Add definition.

Add these three. Use the namespace and key exactly.

Name you can showNamespace and keyType
Parentcustom.fg_parentCollection
Childrencustom.fg_childrenList of collections
Realmcustom.fg_realmSingle line text
  1. Click Save after each one.

Fill them

  1. Click Products, then Collections.
  2. Open a collection.
  3. Scroll to Metafields.
  4. Parent: choose the collection above this one.
  5. Children: choose the collections under this one.
  6. Realm: type a short word the theme already knows, such as home, kitchen, toys, beauty, garden, or food. This picks the built-in drawing when you have not uploaded an icon.
  7. Click Save.

The menu wins when the same collection is also in the menu. Fill the metafields anyway so the trail still works if a menu link is removed.

All guides · Support