
One design, every flavour: the customer picks Blueberry, and the picture, the name and the colours follow.
- shows that flavour’s picture, from a graphics folder;
- writes the flavour’s name;
- paints the name and the band in that flavour’s colour, from a palette.
1
Name your pictures and colours after the flavours
The label finds each flavour’s picture and colour by name, so start by naming them.
- In your dashboard, go to Graphics, create a folder called Flavours, and upload one picture for each flavour. Name each picture after its flavour: Strawberry, Lemon, Blueberry, Mint. A file called
strawberry.pngcounts as Strawberry: upper and lower case don’t matter, and a-or_counts as a space. - Go to Colors, create a collection called Flavours, and add one colour for each flavour. Type its name in Colour name: Strawberry, Lemon, and so on.
2
The flavour choice
-
Create a design 100 × 50 mm, with 2 mm bleed and a 3 mm safe margin. Add a text,
{Flavour}, and set it to Customer fills it in. -
Go to Design → Data Sources and click Flavour. Choose Customer picks and then A list I type, and type the flavours, one per line. Set Starts on to Strawberry.

3
The picture follows the flavour
- Add a picture frame where the flavour’s picture goes. A circle works well.
-
Select it, then go to Object → Data → Content and choose Picked by a field. Set Field to Flavour and From to Flavours.

4
The colours follow the flavour
-
Select the flavour’s name, then go to Object → Data → Colour and choose Picked by a field. Set Field to Flavour and From to the Flavours palette.

- Add a band along the bottom, a rectangle, and give it the same colour setting.

5
Check it as a customer
Save, then open the design as a customer and pick each flavour in turn. The picture, the name and both colours change together.

Why it works
Picked by a field looks the field’s value up by name. When the customer picks Lemon, the frame shows the picture named Lemon in the Flavours folder, and the name and band take the colour named Lemon in the Flavours palette. The design only says where to look, so the range can grow without touching it.Take it further
- More about each flavour: keep weights, ingredients or barcodes per flavour in a table, and look them up from the same choice. See Data Sources and fields.
- A colour the customer picks: choose A colour field instead, and the customer picks the colour themselves from swatches.
- Optional lines per flavour: show or hide warnings with rules, as in the bakery label tutorial.