Accentuate Custom Fields
  • Welcome!
  • Introduction
    • Getting started with ACF
    • Field scopes
    • How to show fields in your storefront
  • Dashboard
    • Reference Manager
      • Creating a new reference within Reference Manager
    • Filter & Group
      • Filter editor
      • Filter usage
    • Activity log
    • App settings
  • Field Definitions
    • Fields & Sections
    • Deciding on a field type
    • ACF Field types
      • Text
      • Markdown text
      • HTML
      • Checkbox
      • Selection
      • Tags
      • Number
      • Date
      • Color
      • Media v1 (legacy)
      • Media v2
      • Custom Object (JSON)
      • Multi-language Text
      • Reference fields
      • References to Global fields
    • Shopify Field types
      • Shopify » Single line text
      • Shopify » Multi-line text
      • Shopify » Boolean
      • Shopify » Color
      • Shopify » Custom objects (JSON)
      • Shopify » URL
      • Shopify » Date
      • Shopify » Date and Time
      • Shopify » Integer
      • Shopify » Decimal
      • Shopify » Weight
      • Shopify » Volume
      • Shopify » Dimensions
      • Shopify » Reference fields
    • Automatic tagging
    • Large sets
    • Field contexts
    • Field context filters
    • Copy and paste fields
    • Change field name and type
    • Import existing fields
    • Linking multiple stores
  • The Editor
    • Using the editor
    • Promote fields to sidebar
    • Layouts
    • Hide from search
    • Repeatable fields
    • Version control
    • Update value on order creation
  • Bulk Import & Export
    • Export custom field values
    • Import custom field values
    • Metaobject export / import
  • METAOBJECTS
    • What are Metaobjects?
    • Metaobject Definitions
    • Metaobject instances / values
    • Displaying Metaobjects on your storefront
    • Metaobject export / import
  • THEME EXTENSIONS
    • SEO keywords
    • Sticky promo bar
    • Products promotion
  • Liquid Guides
    • Learning Liquid
    • Resize & crop images
    • Check for empty values
    • Access field definitions
    • Order notifications
    • Allow customers to change their field values
  • OTHER
    • Webhooks
    • API
      • Access to custom fields
      • Endpoints
  • Help
    • FAQ
      • Why are one of my products no longer showing in my reference field?
      • I have multiple products/variants with the same name
      • How do I make changes to my field values in bulk?
      • I added a new field definition but it is not showing in my storefront
      • How do I copy my field setup to another store?
      • My fields are still showing after I have deleted their field definition
      • Why are none of my fields showing in the editor?
      • My newly created object in Shopify is not available in ACF
      • Reference lists are empty?
      • Why am I seeing a "value cannot exceed 100,000 characters" error when saving?
      • Why can't I name my field "first", "last" or "size"?
    • Need help?
  • Product
    • Changelog
    • Feedback & Suggestions
Powered by GitBook
On this page
  • Fields
  • Adding a new field definition
  • Sections
  • Adding a new section
  1. Field Definitions

Fields & Sections

PreviousApp settingsNextDeciding on a field type

Last updated 10 months ago

Fields

Fields are the essence of ACF. They are called "Metafields" and are stored as information tied directly to your own individual objects such as your products, collections, pages, etc.

You can use fields to store information, media, references, etc. that are relevant to help you better describe your objects in your storefront. Also, you can use it as an admin tool to store important backend information related to your exact business processes - the use cases can be whatever you want them to be essentially.

Adding a new field definition

Before being able to add any values to a field, it first needs to be defined with a name, field type, and any relevant settings related to the chosen type.

  1. Click on "Add field" from the top menu bar

  2. Give your field a relevant label. The field's name will automatically be generated based on this, but you can also edit that if you want.

3. On the next page you can choose the field's data type:

4. On the last page you can select various settings related to your chosen field type.

5. Click on "Done" and then be sure to hit the "Save" button in the right sidebar.

Your field is then ready to use in the editor.

Sections

Sections are used for two purposes:

Adding a new section

To add a new section you can click on the "Add section here" on a field definition to add a section below the field. If you do not have any fields for the scope, the "Add section" button will also be available in the top menu bar.

You can prefix a section's title with a "-" (dash) if you need the section to appear visually as a "sub-section" of another section in the editor

You can read more about the various field types .

If you are looking for inspiration for what you can do with your custom fields, try having a look at our various . If you have a certain feature in mind, and you are unsure how to set up your fields in order to achieve it, reach out to us. We would be happy to help you figure out the optimal solution for you.

To visually and logically group fields in the editor and to control the section's fields when the section is defined as

To group fields for the purpose of creating a per individual object (e.g. a page or a product)

Sections are not custom fields (Metafields) in their own right but rather control elements for the value and layout editor respectively. If you need to loop over the contained fields, please see .

here
field types
repeatable
custom layout
this article