Saltar al contenido
Estas páginas están en inglés y vietnamita. Esta documentación no se ha traducido a tu idioma. El resto del sitio sí.

Configurar One Product

Algunas secciones de One Product 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.

Los nombres de tipo y las descripciones están en inglés, como el administrador de Shopify nombra los tipos cuando está en inglés. En español encontrarás los mismos tipos con nombres traducidos en Configuración → Datos personalizados.

En este orden

  1. 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.
  2. 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.
  3. Rellénalos en cada producto, en el panel Metacampos al pie de su página en el administrador de Shopify.
  4. 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.

Ingredient ingredient

One ingredient of the formula.

  • nameSingle line textsingle_line_text_fieldObligatorio
  • symbolSingle line textsingle_line_text_fieldOpcional
  • amountSingle line textsingle_line_text_fieldOpcional
  • sourceSingle line textsingle_line_text_fieldOpcional
  • reasonMulti-line textmulti_line_text_fieldOpcional

Ritual step ritual_step

One step of how to use the product.

  • titleSingle line textsingle_line_text_fieldObligatorio
  • textMulti-line textmulti_line_text_fieldOpcional
  • imageFilefile_referenceOpcional
  • productProductproduct_referenceOpcional

FAQ faq

A question and its answer, for Collapsible content set to read entries.

  • questionSingle line textsingle_line_text_fieldObligatorio
  • answerRich textrich_text_fieldObligatorio

Testimonial testimonial

A quote, for Testimonials set to read entries.

  • quoteMulti-line textmulti_line_text_fieldObligatorio
  • authorSingle line textsingle_line_text_fieldOpcional
  • detailSingle line textsingle_line_text_fieldOpcional
  • imageFilefile_referenceOpcional
  • sourceSingle line textsingle_line_text_fieldOpcional

Logo logo

A logo, for Logo list set to read entries.

  • imageFilefile_referenceObligatorio
  • linkURLurlOpcional

Icon item icon_item

One promise with an icon, for Icon bar set to read entries.

  • headingSingle line textsingle_line_text_fieldObligatorio
  • iconSingle line textsingle_line_text_fieldOpcional
  • imageFilefile_referenceOpcional
  • textMulti-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 productos

    Single line text single_line_text_field

    The drop's number — 014 — on the release board, the hero, the card and the product page.

  • hullara.drop_opens_atEn productos

    Date and time date_time

    When the drop opens. Before it, the product reads "Opens …" with a countdown and a reminder form instead of a buy button.

  • hullara.restockEn productos

    True or false boolean

    Marks a drop that comes back, so the board says "Restock" rather than a new number.

  • hullara.accentEn productos

    Color color

    The product's own color, behind its card or a bento tile when those settings ask for it.

  • hullara.colourwaysEn productos

    Product (list of products) list.product_reference

    The other colors of a product, when each color is a product of its own; Colorways links them.

  • hullara.colourwayEn productos

    Single line text single_line_text_field

    This product's own color name in that list.

  • hullara.badgeEn productos

    Single line text single_line_text_field

    A 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 productos

    Date date

    A pre-order date: the delivery estimate counts from it rather than from today.

  • hullara.ingredientsEn productos

    Metaobject (list of entries) list.metaobject_reference · Entradas de ingredient

    The formula: each ingredient's name, symbol, amount, source and reason, in order.

  • hullara.stepsEn productos

    Metaobject (list of entries) list.metaobject_reference · Entradas de ritual_step

    How to use it, step by step.

  • hullara.use_orderEn productos

    Integer number_integer

    The product's place in a routine — 1, 2, 3 — for Order of use.

  • hullara.use_noteEn productos

    Single line text single_line_text_field

    One line under that place: "morning and night".

  • custom.fitEn productos

    Integer number_integer

    Where the product sits on the fit scale, from -2 (runs small) to 2 (runs large).

  • custom.lastsEn variantes

    Single line text single_line_text_field

    How 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)

¿Podemos contar esta visita con Google Analytics? Si dices que no, nada de lo que ves cambia, y seguimos sabiendo que la página se leyó — solo que no que fuiste tú. Ninguna cookie publicitaria en ningún caso. Qué guardamos, exactamente