Kitchen template sorting orders

Hi,

I am using the below template

[LAYOUT]
<C00>
<C00>
<C00>
<C00>
<C22>ORDER {TICKET NO}
{ENTITIES}
<J00>Date:{TICKET DATE}|Time:{TIME}
<F>-
{ORDERS}
<C00>
<C00>
<C00>
<C00>
<C00>
<B>

[ORDERS]
<EB>
<L01>{QUANTITY} x {NAME}
<DB>
{SORTED ORDER TAGS}

[ORDERS GROUP|ORDER STATE:Course:Starter,Main,bread & rice,Desserts]
<C00>
<F>-
<C11>** {GROUP KEY}  **
<C00>x{QUANTITY SUM}
<C00>

[ORDERS:Void]
<J10>{QUANTITY} x {NAME}|**Void**
{SORTED ORDER TAGS}

[SORTED ORDER TAGS]
-- Format for order tags
<L00>     [=(TN('{ORDER TAG QUANTITY}') > 1 ? ' {ORDER TAG QUANTITY}x ' : '    ')] {ORDER TAG NAME}

[ENTITIES:Table]
-- Table entity format
<C11>Table: {ENTITY NAME}

[ENTITIES:Customer]
-- Customer entity format
<C11>Customer: {ENTITY NAME}
<C00>Phone: {ENTITY DATA:Phone} 

My question is how do I define “[ORDERS GROUP|ORDER STATE:Course:Starter,Main,bread & rice,Desserts]”

Where do I need to do to group orders this way and tag products like this?

I have used product tag but the products do not show in order.

You grouped by order state? I couldn’t understand how it relates with product tags.

Better show us the issue on a ticket.

Okay hence the confusion.

In the above template how do I group the orders as in starters, mains etc?

Do I use the groupe code here “[ORDERS GROUP|ORDER STATE:Course:Starter,Main,bread & rice,Desserts]”

My order items are not grouped as per starters, mains and drinks.

But where are the orders getting their course states?

I do similar but use a product custom tag like your kitchen field.
Then have a rule for order added which applies the tag to the order as a kitchen course state.
Also make sure case is correct as most things are case sensitive (bread & rice)

Product Group (GroupCode), Product Tag (ITEM TAG), Custom Product Tag (PRODUCT TAG) and Order States are all different things.

Notice the word STATE in there? You have not defined a State. Have a look at this: