Face map
Set up the Face map section, where shoppers pick an area of the face and see products and how to apply them.
Updated
The Face map lets shoppers shop by concern on a face. Each concern sits on an area, such as the forehead or the cheeks. Picking one shows a few products from a collection, a line on how to apply them, and a link to the rest. It works without JavaScript. The face is a line drawing, or your own portrait.
Before you start
Create one collection per concern, for example one for redness and one for breakouts. The section reads the collection you pick on each block and shows its first three products. It needs no metafields, metaobjects or tags.
Add the section
- In the theme editor, open the page and select Add section, then choose Face map.
- Set Heading (default "Start with your skin") and Intro text.
- Optionally set Portrait. Without one, the line drawing is used.
- Add a Concern block for each concern. The section takes up to 6 blocks.
- On each block, pick the Collection and set Area of the face.
- Set Space above and below and Color scheme.
The section does not appear until it has at least one block. Adding it from the section list gives you four example blocks: Fine lines, Redness, Puffiness and Breakouts.
Section settings
| Label | What it does |
|---|---|
| Heading | The title above the face. Default "Start with your skin". |
| Intro text | One line under the heading. |
| Portrait | Optional. A front-facing face, centered, in a 4:5 frame. Without one, a line drawing is used. |
| Space above and below | None, Small, Medium or Large. Default Large. |
| Color scheme | Default scheme-label. |
Concern block settings
| Label | What it does |
|---|---|
| Collection | The collection whose first three products are shown, and the "view all" link goes to it. |
| Area of the face | Next free area, Forehead, Under the eyes, Cheeks, T-zone, Lips or Chin. Default Next free area. |
| Point across | Optional. Position of the point in % of the picture's width from the top left. |
| Point down | Optional. Position in % of the picture's height from the top left. |
| Name | Leave empty to use the collection title. If that is empty too, the area name is used. |
| Short note | One line on what helps, for example: niacinamide, no fragrance. |
| How to apply | Leave empty for a line on applying to this area. |
How areas are assigned
Next free area gives a block the first area that no earlier block uses, in this order: forehead, cheeks, under the eyes, chin, lips, T-zone. With the line drawing, a block whose chosen area is already taken is moved to the next free one, so each area holds one concern. With a portrait, two blocks can share an area.
Using your own portrait
Upload a front-facing portrait to Portrait. Each concern becomes a point on the picture, labeled with its name. Each area has a usual place. To match your photo, enter Point across and Point down on the block. Values are percentages, and anything outside 0 to 100 is held to that range. The portrait's focal point sets which part of the image stays in view when the frame crops it.
What the shopper sees
The first concern is selected when the page loads. Picking another one swaps the panel, which holds the concern name, your note, the How to apply. line, up to three products with price, and a link. With a collection, the link shows the product count. Without one, it searches your store for the concern name.
With the drawing, the area under the pointer lights up and the face turns a little toward the pointer on devices that hover, unless the shopper prefers reduced motion. Hair movement stops when the section scrolls out of view.
Related
Still stuck? Get theme support