Airfields — Documentation

What do you want to learn today?

Featured articles

Basic field set-up

Each Airfields field can be configured in a way that will best fit your needs. Each type of field has its own unique controls. However, there are basic controls that are the same for all field types:

Field type - JSON

A JSON field is designed for advanced users to store JSON objects and have access to key:value pairs in a Liquid template.

All help articles

Field type – Video

A Video field type allows you to embed a video from Vimeo or YouTube directly into your template. All you have to do is to paste the video share URL, and the player will be rendered on your page.

Field type – Image

An Image field allows you to upload your own images, and use them wherever you want in your template. Images are uploaded and stored on Shopify CDN, so you do not need any external image storage!

Field type – HTML

HTML field is designed to store a short html code that can be injected into a template. The HTML field provides a syntax highlight for better readability and editing experience

Field type – Date

A Date field that will show a datepicker during editing. It can be used to select and show a date only or date and time.

Field type – Number

Number is a simple field that allows you to store and show numeric values. This field can use decimals as values.

Field type – URL

The URL field designed to store a web page url. It will validate the correct url format. Note that it needs to be added with http:// or https://.

Field type – Phone

A field designed to store a phone number. Accepts up to 16 digits, and allows special symbols like:  “-“, “+”, “(“ and “)”.

Field type – Boolean

A Boolean field stores true/false information. Based on this you can conditionally control parts of code in your template.

Field type – Color

A Color picker field allows you to choose any color you want for a section on your site. Color is returned in the hexadecimal format, so you can use it in your code whenever you want.

Field type – Repeater

The Repeater field allows you to “repeat” grouped fields over and over again during editing. Imagine a wrapper for any kind of field type which allows you to create a repeatable set of blocks.

Field type – WYSiWYG

A field similar to Text area, but with rich text editor controls. You can format text styles, alignment, weight, etc. Just like in your text editor.

Field type – Group

Group field is a kind of “virtual” field that cannot be displayed on a template, but is visible in the editing view. Thanks to the Group field you can better organize your fields schema, and optimize your editing.

Field type – Email

Field designed to store email addresses. This field will validate if the value is a correct email address.