Skip to content

Product data

The product metafields Mosto reads for ingredients, routines, facts and refills.

Updated

Mosto reads product metafields by key, so nothing has to be connected in the editor. Create each definition once in Settings > Custom data > Products with the namespace and key below, then fill it in on each product. Blocks that find no value hide themselves. In the theme editor they show a short note instead.

Metafields

Namespace and keyTypeShown in
custom.lasts_weeksIntegerCard chip, at a glance, plan picker, refill calendar
custom.when_to_useSingle line textAt a glance
custom.routine_timeSingle line text: am, pm or bothRoutine clock, routine steps
custom.routine_stepSingle line textRoutine steps
custom.key_ingredientsList of single line textIngredients block, ingredient lens and index
custom.ingredientsMulti-line text, the full INCI listIngredients block
custom.how_to_useRich textIngredients block, under "How to use"
custom.skin_type or custom.skin_typesSingle line text, or a listFacts and label rows
custom.free_fromSingle line text, comma separatedFacts and label rows
custom.refillProduct referenceRefill price on cards, refill offer in the cart

Tips

  • Write key ingredients the same way on every product, such as "Niacinamide", so the ingredient index groups them.
  • custom.lasts_weeks is how long one unit lasts with normal use. Mosto uses it to suggest the closest subscription plan and to show when a refill is due.

Other fields

The Product comparison section has a Metafield setting per row. Enter a key such as custom.skin_type to show that field for each product. Articles can read custom.products. Mosto does not read metaobjects.

Still stuck? Get theme support