Additional configurations

Dynamic block content with metafields

Metafields are a way to add dynamic content to your Mojave theme. This can be used in combination with the Metafields or any other pages to generate dynamic content and connect with storefront features.


There are two options on how to configure this dynamically. If you would like to have the ability to have specific styling on the content, we suggest using the pages method. If you would like to make things easier to manage, you can use the metafields option.


Dynamic content using metafields

Add a new metafield definition

  1. In your Shopify admin, open Settings
  2. Open Metafields
  3. Open Products or Variants
  4. Select Add definition

Each metafield definition needs a Name, Namespace and key, and Description for internal reference.

Click (+) Select content type to choose:

  • Color
  • Date and time
  • File
  • JSON
  • Measurement
  • Number
  • Rating
  • Reference
  • Text
  • True or false
  • URL

For this example setup, we need a Multi-line text content type to provide the Material & Care content for relevant products.

Save, then go to your Products admin.

Previous
Color swatches