Metafields

This page lists every metafield the Tackle theme reads, and how to create each one in Shopify.

A metafield is extra data on a product, variant, collection or article. The theme reads this data and shows a feature only when the data exists. If a metafield is empty, the feature stays hidden. You do not need to fill every metafield.

Before you start:

Create a metafield definition

Repeat these steps for each row in the tables below.

  1. In the Shopify admin, click Settings.
  2. Click Custom data.
  3. Click the owner type: Products, Variants, Collections or Articles.
  4. Click Add definition.
  5. In Name, enter the label for the merchant, for example Season start.
  6. In Namespace and key, enter the namespace and the key from the table. For custom.season_start, the namespace is custom and the key is season_start.
  7. In Type, choose the type from the table.
  8. For a number from 1 to 12, set a lower limit of 1 and an upper limit of 12 if the definition form offers them.
  9. Click Save.

Collections

Owner: collection. Use these on each collection that has a season, a brand or a species page.

Namespace and key Name to enter Type to choose Example value Where it shows in the theme
custom.season_start Season start Integer 10 (October) Season strip on cards, the "Shop by" tabs, the season banner on the season template, the in-season section, the season line in the header
custom.season_end Season end Integer 3 (March) Same places as season start. A range can wrap the year end, for example 10 to 3
custom.season_note Season note Single line text Pike from the reed beds Shop by tiles, the in-season board, the season banner
custom.brand_logo Brand logo File (image) Logo image Brand index (A to Z list) and the brand header on the brand template
custom.brand_story Brand story Rich text A short history of the brand Brand header on the brand template

Month values are numbers: 1 is January and 12 is December. The theme shows month names from the locale file.

Products

Owner: product. Use these on each product.

Product metafields that the theme reads

Namespace and key Name to enter Type to choose Example value Where it shows in the theme
specs.profile Specification profile Single line text rod Chooses the spec list for this product. Valid values are the profile names listed in Specifications
custom.species Species List of collections (preferred) Collections such as "Pike", "Perch" "Fishes for" block on the product page (up to three, with season strip). In-season marker on product cards through the use line
custom.setup_products Complete the setup products List of products Reel, line, hooks "Complete the setup" block on the product page
custom.setup_note Setup note Single line text Matches the 2.4 m rod Shown under a product in "Complete the setup". Add this on the suggested product, not on the main product. The key name is set in the block setting "Reason metafield" and defaults to setup_note
custom.guides Guides List of articles Two or three journal articles "From the journal" block on the product page. If empty, the block uses articles tagged with the product handle from the block's fallback blog
custom.size_guide Size guide Page The size guide page "Size guide" block on the product page. If empty, the block uses the page picked in the block setting

custom.species should hold collections. The theme reads the season data from those collections. The Search and Discovery filter cannot use collection references, so keep a text copy in custom.species_names for the Species filter.

Specification metafields (namespace specs)

The spec table shows the metafields that the theme reads for product specifications. Each row is one key. Type the key in the Namespace and key field as specs. followed by the key.

Use the type in the table. Measurements must use the Dimension, Weight or Volume type so the theme can show both metric and imperial units.

Key (namespace specs) Label shown to shoppers Metafield type to choose Profiles that use it Key fact in
bearings Ball bearings Integer reel none
blank Blank Single line text rod none
guides Guides Single line text rod none
handle Handle Single line text rod, net none
material Material Single line text rod, line, lure, fly, hook, wader, net, electronics, tent, sleeping-bag, sleeping-pad, pack, stove, cooler, kayak, paddle, life-jacket, apparel, footwear, generic hook, net, apparel, generic
reel_seat Reel seat Single line text rod none
warranty Warranty Single line text rod, electronics, cooler, kayak, paddle, life-jacket, apparel, generic none
waterproof_rating Waterproof rating Single line text wader, electronics, tent, apparel, footwear wader, electronics, apparel, footwear
capacity Capacity Integer for tent; Volume for pack, stove, cooler; Single line text for generic tent, pack, stove, cooler, generic tent, pack, cooler
line_capacity Line capacity Single line text reel none
pack_size Pack size Integer hook none
spool_length Spool length Dimension line line
boat_length Boat length Dimension kayak kayak
boat_width Boat width Dimension kayak kayak
hook_size Hook size Single line text fly, hook fly, hook
length Length Dimension rod, net, electronics, sleeping-bag, sleeping-pad, cooler, generic rod, net, electronics, generic
lure_length Lure length Dimension lure, fly lure
packed_size Packed size Dimension tent, sleeping-bag, sleeping-pad, stove tent
packed_weight Packed weight Weight tent, sleeping-bag, sleeping-pad tent, sleeping-bag, sleeping-pad
paddle_length Paddle length Dimension paddle paddle
reel_size Reel size Integer reel reel
sole Sole Single line text wader, footwear wader, footwear
transport_length Transport length Dimension rod none
wader_type Wader type Single line text wader wader
weight Weight Weight rod, reel, wader, net, electronics, pack, stove, cooler, kayak, paddle, life-jacket, apparel, footwear, generic reel, electronics, pack, stove, cooler, kayak, paddle, life-jacket, footwear, generic
torso_fit Torso fit Single line text pack, life-jacket, apparel pack, life-jacket
pieces Pieces Integer rod, paddle none
action Action Single line text rod rod
boat_type Boat type Single line text kayak kayak
boil_time Boil time Integer stove stove
breaking_strain Breaking strain Weight line, hook line, hook
buoyancy Buoyancy Single line text line none
diameter Diameter Dimension line, net line, net
drag_type Drag type Single line text reel none
fill Fill Single line text sleeping-bag none
floor_area Floor area Single line text tent tent
fuel Fuel Single line text stove stove
gear_ratio Gear ratio Single line text reel reel
line_rating Line rating Single line text rod none
line_type Line type Single line text line line
line_weight Line weight Single line text rod rod
load_limit Load limit Weight pack, kayak none
lure_type Lure type Single line text lure, fly lure, fly
lure_weight Lure weight Single line text for rod; Weight for lure rod, lure lure
max_drag Max drag Weight reel reel
pattern Pattern Single line text lure, fly, hook fly
power Power Single line text rod rod
r_value R-value Integer sleeping-pad sleeping-pad
retrieve Retrieve per turn Dimension reel none
rider_limit Rider limit Integer kayak kayak
running_depth Running depth Dimension lure lure
season_rating Season rating Single line text sleeping-bag sleeping-bag
taper Taper Single line text line none
temperature_rating Temperature rating Temperature electronics, sleeping-bag, sleeping-pad, cooler, apparel sleeping-bag
water_condition Water condition Single line text paddle paddle

Notes on the table:

Variants

Owner: variant. Variant metafields use the same specs namespace and the same keys as products.

Articles

Owner: article.

Namespace and key Name to enter Type to choose Example value Where it shows in the theme
custom.products Products in this guide List of products Rod, reel and line "In this guide" product grid on the article page (article products section) and the product count on article cards

Search and Discovery filters

Use the Shopify Search and Discovery app to let customers filter collections by these fields. The theme shows the filters that the app returns. It does not build the filter list itself.

To set up a filter, install Shopify's free Search & Discovery app. Then open Filters, click Add filter, choose the source, and click Save. Drag the rows to change their order, then click Save again. Filters accept text, number and true/false metafields. They do not accept collection references or dimensions.

Make these filterable when you need them:

  1. Species: custom.species_names, the text copy of custom.species
  2. Technique and other tags: use the product tags or a list metafield that you add
  3. Water type: use a list metafield or tags
  4. Season: custom.season_start and custom.season_end on collections, if you want season filters
  5. Specifications: the specs keys with a list, range or number type, for example specs.line_weight, specs.length or specs.capacity

Choose only the specification keys your customers ask about. Each filter adds work for the shop.

Rules to remember