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 key | Type | Shown in |
|---|---|---|
custom.lasts_weeks | Integer | Card chip, at a glance, plan picker, refill calendar |
custom.when_to_use | Single line text | At a glance |
custom.routine_time | Single line text: am, pm or both | Routine clock, routine steps |
custom.routine_step | Single line text | Routine steps |
custom.key_ingredients | List of single line text | Ingredients block, ingredient lens and index |
custom.ingredients | Multi-line text, the full INCI list | Ingredients block |
custom.how_to_use | Rich text | Ingredients block, under "How to use" |
custom.skin_type or custom.skin_types | Single line text, or a list | Facts and label rows |
custom.free_from | Single line text, comma separated | Facts and label rows |
custom.refill | Product reference | Refill 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_weeksis 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