How to add theme metafields

The theme includes several custom metafields designed to extend product functionality and improve store presentation. These metafields are:

  • Countdown – Displays a countdown timer on the product page, typically used to highlight limited-time offers or promotions.

  • Featured Badge – Adds a customizable badge or label to emphasize special products, such as “New,” “Hot,” or “Limited.”

  • Grouped Gallery – Displays product images linked to the selected variant only, allowing customers to view images relevant to their chosen option.

  • Small Description – Provides a short text field for a brief product summary, displayed in compact layout on Collection Page in Listing view. Firstly, you should enable it in Theme settings -> Product Cart -> SECTION SETTINGS, Show small description

Each of these metafields can be created in the Shopify admin just like any other custom metafield.


How to Create These Metafields

  • In your Shopify admin, go to Settings (bottom-left corner):

  • From the left-hand menu, open Metafields and MetaobjectsProducts:

  • Click Add definition:

  • Fill in the metafield parameters as shown below:

Metafield
Name
Namespace and key
Type

Countdown

countdown

wokiee.countdown

Date and time

Featured Badge

featured_badge

wokiee.featured_badge

Single line text

Grouped Gallery

grouped_gallery

wokiee.grouped_gallery

Single line text

Small Description

small_description

wokiee.small_description

Multi-line text

  • Click Save to confirm the metafield creation:

Important: Make sure you do not leave the default custom. prefix in the Namespace and key field. Replace it with the provided namespace (for example, wokiee.countdown).


Adding Values to Product Metafields

Once the metafields are created, you can assign values to them directly within each product:

  1. Open a product in your Shopify admin.

  2. Scroll down to the Product metafields section.

  3. You’ll see all newly created metafields listed there. Enter the desired values for each metafield:

Last updated