Discount using order tags availability

[LAYOUT]
<EB>
<C00>
<C00>
<C00>
<C00>
<DB>
<J00>
<L00>Date: {TICKET DATE}
<L00>Time: {TIME}
<L00>Server: {ENTITY NAME:Employee}
<L00>Ticket No: {TICKET NO}
<J00>Loyalty Card Holder: {ENTITY DATA:Loyalty Card:Holder Name}
<F>-
{ORDERS}
<F>=
<EB>
<J00>Subtotal: | [=TN('{PLAIN TOTAL}')==0?'{TICKET TOTAL}':'{PLAIN TOTAL}']
{DISCOUNTS}
{SERVICES}
<J00>Grand Total Due:|{TICKET TOTAL}
<J00>Amount Tendered:|{TENDERED TOTAL}
<C10>CHANGE DUE: $ {CHANGE TOTAL}
<DB>
<J00>
[<J00>HAPPY HOUR BEER SAVINGS:|[=F(TN('{ORDER TAG TOTAL:Discount}')+TN('{ORDER TAG TOTAL:VIP Discount}')+TN('{ORDER TAG TOTAL:HH Discount}'))]]
<F>=
<C00>SUGGESTED TIP AMOUNTS
<L00>               15% = $ [=F(TN('{TICKET TOTAL}')*.15)]
<L00>               18% = $ [=F(TN('{TICKET TOTAL}')*.18)]
<L00>               20% = $ [=F(TN('{TICKET TOTAL}')*.20)]
<L00>               25% = $ [=F(TN('{TICKET TOTAL}')*.25)]
<J00>
<EB>
<C00>T H A N K   Y O U
<C00>
<C00>*** P L E A S E  C O M E  A G A I N ***
<DB>
<F>=
[<J00>Loyalty Points:|{TICKET STATE:Loyalty Points}: {TICKET STATE VALUE:Loyalty Points} Points]
[<BAR>[=F('{TICKET ID}','0000000000')]]
[<C00>Ticket ID: [=F('{TICKET ID}','0000000000')]]

[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

[SERVICES]
<J00>{CALCULATION NAME}|{CALCULATION TOTAL}

[PAYMENTS]
<J00>{PAYMENT NAME}|{PAYMENT AMOUNT}

[ORDERS]
-- Default format for orders
<J00>{QUANTITY} {NAME}|{TOTAL PRICE}
{ORDER TAGS}

[ORDERS:Gift]
-- Format for gifted orders
<J00>- {QUANTITY} {NAME}|**GIFT**
{ORDER TAGS}

[ORDERS:Void]
-- Nothing will print for void lines

[ORDER TAGS]
-- Format for order tags
<J00>  *{ORDER TAG NAME} | {ORDER TAG PRICE}

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

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

I don’t see {ORDER TAG QUANTITY} in your [ORDER TAGS] section. In fact, I don’t see it anywhere in your Template.

I had that in the template and removed it because it printed like this.


Since I am using an inline calculation,I need to have a calculation that uses the {ORDER TAG QUANTITY} expression to calculate a total of what was paid. (ex. 5 Happy Hour Shooters * $2.00= $10.00)

That is what it is supposed to do. So how are you having “problems” with {ORDER TAG QUANTITY} ???

I understand that is what it is supposed to do. Can you provide me with a calculation that will allow me to multiply the expression {ORDER TAG QUANTITY} by a set dollar amount? (ex.{ORDER TAG QUANTITY} *$2.00= $6.00 if quantity was 3.) Is this possible? The inline calculation I use is for specific products that round down to a certain dollar amount (ex. $2.00, $3.00)

[={ORDER TAG QUANTITY}*2] this should do what you ask for but I’m not sure if it will help as it will only multiply the quantity in that specific spot and not be added in any calculation like in ticket total

[=TN('{ORDER TAG QUANTITY}') * 2]

@ontimetruckng, Keep in mind you can’t just use that anywhere you feel like. In an Template, it needs to be in the [ORDER TAGS] section and in a Rule, it will only work with certain Events (ie. Order Tagged event).

1 Like

QMcKay, tried that calculation. But it shows nothing on the receipt.

How many times do I need to mention that {ORDER TAG QUANTITY} ONLY WORKS IN THE [ORDER TAGS] SECTION?

3 Likes