How to update Product Tag using action

Hey guy,

I just want to know, is there an action we can use in a rule that can update a product tag based on a selection made from an ask question?

Im trying to setup a different method of applying products to courses such as is it entree or main based on product tag.

Basically the flow is, user selects an item, ask question says main or entree, they make a selection and it updates the product tag so when it prints, it prints under the selected product tag group

Hmm… You’ll probably change your mind to use order states.

1 Like

That would effect other orders through.
Use a course order state.
What I did was use product tag to set the default course, then I have an order level automation command button which triggers ask question to change course state so rather than asking every time you can change it but it sets by default

1 Like

Hahaha I love how you just made it like… “nahhh lets make him love order states”

For some restaurants the product tag print based on group works great! Its just when chef suddenly decides nahh i want everything in 3 course separations. In which now i have suddenly change the flow and add more automation…

I dont mind order states but they can be quite scary to deal with as it can break your system or bug it if you dont know how to effectively use them. Im trying to create methods alternative to using order states.

I even attempted using line separator action … it works great on pos screen but in printer template i use
[ORDERS:SEPARATOR]
---- {Name} — and it just prints ----{Name}---- instead of the value command i set in the auto command button.

Im just scared of order states haha

I attempted creating an automation around group tags too. It applied it ok but it doesnt arrange them under existing group tag. And when it prints it just shows first chosen group tag and all other items underneath the same group tag.
So it would print
------Entree-------
Xxxxxx
Xxxxx
Xxxxx
Instead of
----Entree----
Xxxxxx
Xxxx
—Mains----
Xxxxxx
Xxxxx

The ask question applies group tag correctly but doesnt sort them nor prints them as above.

So i know im missing either 1 or 2 rules or a printer remplate format im not aware that exists

@Shivan give me a sec and ill send you some screenshots of my setup which works pretty well.


[LAYOUT]
<C00>
<C00>
<C00>
<C00>
<C22>ORDER {TICKET NO}
[<C01>{TICKET TAG:Covers}
{ENTITIES}
[<C00>Package: {TICKET STATE:Package} ({TICKET STATE VALUE:Package})]
<C00>
<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:Starters,Mains,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
<C22>Table: {ENTITY NAME}

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

[ENTITIES:Room]
-- Customer entity format
<C11>Room: {ENTITY NAME} - {ENTITY DATA:Guest Name}
1 Like

The patch order adding and taking away triggered the refresh of grouping as although it had been changed it didnt visually update.

Another thing was the order of groups on screen was defined by the add time of the oldest item in each group so changing the first order (starter) to a main would move mains to first group due to it then having the oldest order in it.

Although it seems the grouping on screen has broken since version I created this flow on…
They dont seem to group anymore and each order has its own group :frowning:

Thanks for showing me your setup. Ill attempt this method on a test device to see how well it works and what i can do to make it work well for many cases im handling at the moment.

Ill have to show some screenshots of what ive attempted so far.

Some clients like the line seperator method, but i cant make print the command value for some reason.

Im afraid of order states but ill give this a go. Im certain there are methods without use of order states but the deeper i dig the more i find order states been the best method.

Im just more confident using other none order state rules and actions at the moment haha

Don’t be afraid of order states. Rule of thumb just don’t edit or mess with default states. Also think out and plan the flow then try implement it. And always backup first. It’s a win win if you follow those basic rules.

Order states are vastly superior and allow very interesting flows.

2 Likes

Thanks guys. Ill attempt to put something together and see how i go :slight_smile:

Hello everyone, I am also interested in this topic, I use the productag to print in kitchen and separate the main and dessert starters.

The problem is when the customer wants to change some main product and put it in starter, I guess with the rules that you have put before you could, right?

Are those rules only or do we have to take into account any action?

Could you show a video of how it works on the sales screen?

I find it hard to understand the order state :disappointed_relieved:

It would be nice to have an action to change product tag but maybe it’s not a viable option which is why they are suggesting to use order states. I will attempt to something together and if it works I will share it :slight_smile:

I don’t think updating product tag, at least for this purpose is viable. They are made to be static data about product. Updating to change course for a particular order one one ticket will effect orders going forward for one as they draw the changed data. Where as states was almost made for that exact purpose.
The point being and sounds a little obvious but product tags are for the products, order states are for the order, once added to a ticket the product is then an order.
While you can link back to the origional product for data (group, portions, product tags), course and changing it as discussed is order specific, just because customer A wants to have a main served with their starters doesn’t make the product a starter it just means that order wants serving with the starters that time.

2 Likes

lol No. I was working on something related.

On next update you’ll be able to do something like this.

2018-08-14_13-06-28

PS: New feature is being able to group ticket lines on the fly by order states.

5 Likes

Thats the use of group tags right? If it is, i tried using that method but they wouldnt group up like your screenshot and when i tested printing it would only print first group tag but not others. That looks great!

Yes it is group tags but I added a new action to simplify grouping on the fly by the order state. You can read more about it on beta release notes.

I thought so. I just looked at it now. I look forward to testing it out.
I appreciate your efforts greatly

Will that work on the Android Mobile Client?
I will be wonderful.

Unlikely, don’t think mobile client does grouping at all does it?