Help Center
English
Contents

Storefronts, search, filters, and translations

Choose how eligible custom information can be used in your storefront.

Make a field available to the storefront

Turn on storefront access when shoppers should see the value. This makes the value available to your storefront; it does not add it to a page by itself. Add a Metafield block where you want it, or use a theme that shows the field.

Show a field with the Metafield block
  1. Open Online Store > Themes and open your theme in the theme editor.

  2. Open the page where the field belongs, such as a product or collection template, select a section, and choose Add block.

  3. Under Platform blocks, choose Metafield.

  4. In Show a field of, choose whose field to show: the page's product, collection, category, vendor, brand, page, or blog post, a product's brand, vendor, or category, or the store.

  5. Choose the metafield. Only fields available to the storefront are listed.

  6. Save your changes and publish the theme when you are ready.

The block shows the field's name as its label, in the shopper's language when you have translated the name. Write your own label in the block to replace it, and translate that label with the theme's text translations. Text, rich text, numbers, dates, true or false values, colors, links, choices, files, images, and references to products, variants, pages, blog posts, collections and custom content each get the platform's layout, and lists show every item. Your theme can style the block.

When the item has no value for the field, shoppers see nothing there. The theme editor tells you why a Metafield block is empty, for example when the page has no brand or the field is not available to the storefront.

The Metafield block can be added to any section that accepts app blocks or theme blocks. If a section that shows a product or collection has no Add block option, ask the theme developer to update the theme.

Include values in search

Supported text and choice fields can be searchable. A shopper's search can then match that custom information, such as a product material or a vendor specialty. Search uses the translated value when one is available for the shopper's language.

Use values as product filters

Eligible product and variant fields can be used as storefront filters. Choices, true or false values, and supported numbers work well for facts such as material, waterproof, capacity, or size. After making the definition filterable, add it from Catalog > Filters and choose the label shoppers will see. While a filter uses the definition, it stays filterable and available to the storefront, and it can't be deleted; remove the filter first.

Translate text and choices

Supported text values can have a translation for each enabled store language. Choice fields translate the labels shoppers see without changing which choice is saved. When a translation is missing, the base-language value is used. To translate a definition name, open the definition and choose the translate button next to its name, or use Translations > Metafield names for AI translation and CSV import and export.

To read a metafield value translation, staff need read access to both its resource and Languages. To set or clear a translation, they need write access to both. Products access covers products, variants, categories, collections, brands, and vendors; Pages covers pages; Blog covers blog posts and categories; Metafield Definitions settings covers store values. App-owned fields must also allow merchant access. These rules apply in Store Admin and connected tools. Clearing a base value still uses resource write access and removes its translations.

Was this page helpful?