דלגו לתוכן

Store data reference

תוכן זה אינו זמין עדיין בשפה שלך.

Some of what Rio shows comes from your store’s data rather than from the theme editor. This page lists all of it. Set up metafield and metaobject definitions in Settings › Custom data in your Shopify admin.

Written in stage 2: a step-by-step guide and screenshots for each row.

What Store data Type Where it’s set up Read by
Star rating reviews.rating Rating Written by a product reviews app Product rating block. Nothing shows without it; Rio never shows a rating of its own.
Number of reviews reviews.rating_count Integer Written by a product reviews app Product rating block
Color swatches shopify.color-pattern Category metafield → the Color metaobject (its label, color and image) Product › Category metafields Variant picker and product cards. Used first; then the option value’s own swatch; then Theme settings › Color swatches.
Product siblings — the family custom.siblings_products by default List of products Product metafield definition. The namespace and key are a setting: Theme settings › Product siblings › Sibling list metafield Product siblings block and product cards. List every product in the family, the product itself included.
Product siblings — the color custom.siblings_color by default Metaobject, with the fields label, color and image Product metafield definition and a metaobject definition. The key and the field names are settings in Theme settings › Product siblings. A product without one uses its featured image as its swatch.
New badge A product tag, new by default Tag Product › Tags. The tag is Theme settings › Product card › New badge tag (not case-sensitive). Product cards, when Show New badge is on
Materials and care custom.materials_care Any type that prints as text Product metafield definition Connected to a row of the product page’s details in the default product template. Change or remove it in the theme editor.
A value in the comparison table Any product metafield, such as custom.material Any Product metafield definition. The namespace and key are the row’s Product metafield setting. Comparison table section, rows whose Value source is Metafield
What Store data Type Where it’s set up Read by
Size guide A page with a table Page Online Store › Pages. Choose it in the variant picker block: Size guide page, and the option it shows beside (Show beside option, Size by default). Variant picker block. The table can switch between centimeters and inches.
Swatch colors by name A list in Theme settings — Theme settings › Color swatches: the option names that show swatches (Color swatch trigger) and one line per value (Swatches list). Variant picker, product cards and the color filter, when neither of the two above gives a swatch
What Store data Type Where it’s set up Read by
The banner’s details line custom.season Single line text Collection metafield definition Connected to Collection banner › Details line in the default collection template
The product in the banner custom.shown_product Product Collection metafield definition Connected to Collection banner › Product in the default collection template
What Store data Type Where it’s set up Read by
Shop the story — products custom.shop_the_story List of products Blog post metafield definition Connected to Shop the story › Products in the default blog post template. A post without products shows no section.
Shop the story — collection custom.shop_the_story_collection Collection Blog post metafield definition Connected to Shop the story › Button collection
Tag colors A blog post’s tags Tag Up to six tag names, each with a color, in Theme settings › Blog; every other tag takes the last color. Names match without regard to case. The blog and blog post pages

Every metafield Rio’s code and default templates read by name, regenerated on every build. The metafields whose namespace and key are settings — product siblings and the comparison table — aren’t in this list.

MetafieldRead in
product.metafields.custom.materials_caretemplates/product.json
collection.metafields.custom.seasontemplates/collection.json
article.metafields.custom.shop_the_storytemplates/article.json
article.metafields.custom.shop_the_story_collectiontemplates/article.json
collection.metafields.custom.shown_producttemplates/collection.json
product.metafields.reviews.ratingblocks/product-rating.liquid
product.metafields.reviews.rating_countblocks/product-rating.liquid
product.metafields.shopify.color-patternsnippets/swatch-style.liquid