The basics

Modified on Tue, 17 Nov 2020 at 01:38 PM

Metafields are extra, hidden data in each object or in your shopfront that informs you more about the object itself without revealing them. Shopify metafields can help you extend the functionality of your online shop by letting you add custom fields to objects such as products, customers and more. These are useful for storing specialized information, such as part numbers, customer’s titles or blog post summaries. They can be used by apps and channels to track data for internal use.


Advanced Custom Field (ACF) a powerful add-on application for your Shopify store that utilizes Shopify’s Metafields. It enables admins to add structured metafield fields (custom fields) to things in Shopify (objects), such as products, collections, orders, customers, and pages. These extra content fields are more commonly referred to Custom Fields and can allow you to build websites faster and reach your clients quicker.



ACF supports adding custom fields to 9 Shopify object:

•    Product

•    Product variants

•    Collection

•    Pages

•    Customers

•    Orders

•    Blogs

•    Posts

•    Shop (a.k.a Global metafields)


In this guide, we will show you:

1. How to access ACF

2. Custom Fields tab

-    Configuration tab

-    Editor – Data content

3. Displaying Fields

4. What are Metafields?



1. How to access ACF


After successfully installing ACF, you can access it via 2 ways:


1 - From your Shopify admin, go to Apps. Click Advanced Custom Field.



2 - Using ACF’s admin link in the More actions menu.




2. Custom Fields tab


Configuration tab



With our friendly field builder interface, you can easily create a new custom field as many as you want! Each with their own name, type and settings.


Each field is added to a group which allows you to organize your fields and also specify the edit screens where they appear.

Field groups are used to organize fields and attach them to edit screens. Each field group contains a title, fields, location rules and visual settings (colors,…).


To get started with your first field group, please read our Group Field guide.


You can customize each field and decide how the field will appear (its type), where its value will be saved (its name) and how it will perform (its settings). These field settings can be customized when editing a field group.


Editor – Data content


After creating a field, it’s time to start editing your content! Our fields are very flexible to use and display seamlessly with the Shopify admin style.



To get an idea of the different content you can edit in ACF, please look over the available data types and reference types.


3. Displaying Fields


To show custom field details in your storefront, use the metafields object in your Liquid theme pages (including checkout.liquid) and in other locations where Liquid variables are supported.


For example, you could use the following Liquid code to display the example washing instructions on a product page:


{% unless product.metafields.Acme134-instructions.Wash == blank %}

    Wash: {{ product.metafields.Acme134-instructions.Wash }}

{% endunless %}


4. Metafields tab


With ACP app’s new interface, Metafields tab is displayed right next to “Custom Fields” tab, which helps users to create/ edit their metafields even more simply and faster.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article