Configurar Apparel
Algunas secciones de Apparel leen datos que guardas en tus productos: la fecha de un drop, una fórmula, un ajuste. Un tema no puede crear esa estructura por ti, así que esta página enumera cada definición que lee el tema, tal como Shopify la pide. Se genera a partir del propio tema, así que nunca pide una que el tema ya no lee.
En este orden
- Crea primero las definiciones de metaobjetos, en Configuración → Datos personalizados → Metaobjetos, con los campos de abajo. Los metacampos de producto que listan entradas apuntan a ellas.
- Crea las definiciones de metacampos en Configuración → Datos personalizados → Productos (y Variantes, donde la tabla lo indique), con el espacio de nombres y la clave exactamente como aparecen y el tipo indicado.
- Rellénalos en cada producto, en el panel Metacampos al pie de su página en el administrador de Shopify.
- Abre el editor de temas. Las secciones que los leen muestran los datos al momento; una sección que aún no tiene nada que mostrar dice qué le falta, solo en el editor.
Metaobjetos que hay que crear
El tipo debe coincidir exactamente; el nombre es tuyo. Da acceso de tienda online a cada definición, o el tema no podrá leer sus entradas.
FAQ faq
A question and its answer, for Collapsible content set to read entries.
questionSingle line textsingle_line_text_fieldObligatorioanswerRich textrich_text_fieldObligatorio
Testimonial testimonial
A quote, for Testimonials set to read entries.
quoteMulti-line textmulti_line_text_fieldObligatorioauthorSingle line textsingle_line_text_fieldOpcionaldetailSingle line textsingle_line_text_fieldOpcionalimageFilefile_referenceOpcionalsourceSingle line textsingle_line_text_fieldOpcional
Logo logo
A logo, for Logo list set to read entries.
imageFilefile_referenceObligatoriolinkURLurlOpcional
Icon item icon_item
One promise with an icon, for Icon bar set to read entries.
headingSingle line textsingle_line_text_fieldObligatorioiconSingle line textsingle_line_text_fieldOpcionalimageFilefile_referenceOpcionaltextMulti-line textmulti_line_text_fieldOpcional
Metacampos que hay que crear
El espacio de nombres y la clave deben coincidir exactamente. Da acceso de tienda online a cada definición, o el tema no podrá leerla.
hullara.drop_numberEn productosSingle line text
single_line_text_fieldThe drop's number — 014 — on the release board, the hero, the card and the product page.
hullara.drop_opens_atEn productosDate and time
date_timeWhen the drop opens. Before it, the product reads "Opens …" with a countdown and a reminder form instead of a buy button.
hullara.restockEn productosTrue or false
booleanMarks a drop that comes back, so the board says "Restock" rather than a new number.
hullara.accentEn productosColor
colorThe product's own color, behind its card or a bento tile when those settings ask for it.
hullara.colourwaysEn productosProduct (list of products)
list.product_referenceThe other colors of a product, when each color is a product of its own; Colorways links them.
hullara.colourwayEn productosSingle line text
single_line_text_fieldThis product's own color name in that list.
hullara.badgeEn productosSingle line text
single_line_text_fieldA word on the product's card — Organic, New — in every language: translate it in Translate & Adapt. A badge:Organic tag reads the same in every language, because Shopify does not translate tags.
hullara.ships_onEn productosDate
dateA pre-order date: the delivery estimate counts from it rather than from today.
custom.fitEn productosInteger
number_integerWhere the product sits on the fit scale, from -2 (runs small) to 2 (runs large).
custom.lastsEn variantesSingle line text
single_line_text_fieldHow long the chosen size lasts — "about six months" — under the size buttons.
Los escribe una app
Estos no los creas tú: la app indicada los rellena y el tema los lee cuando lo hace.
reviews.rating— Stars on the product page and in testimonials. (a reviews app)reviews.rating_count— How many reviews the stars stand for. (a reviews app)shopify--discovery--product_recommendation.complementary_products— The products a bundle or "Pairs well with" offers when set to complementary. (the Search & Discovery app)