na1978
August 27, 2014, 11:35pm
1
I followed this tutorial from QMcKay to create discounts using order tags, but I am not able to print Order Tags on Customer Receipt.
What tag should I use to print Discount Amount on Customer Receipt. Right now it is only printing ***DISCOUNTED [Need Discount Amount here].
Thanks,
Jesse
August 28, 2014, 1:41am
2
Post your Customer Receipt printer template
Jesse
August 28, 2014, 1:48am
3
{ORDER TAG PRICE}
This is the tag you need in your template…
If you can post your template I can help you place it in the right spot.
na1978
August 28, 2014, 2:12am
4
Hi @kendash ,
Below is my Customer Receipt. Thanks for your help.
[LAYOUT]
– General layout
Customer Receipt
Table No: {ENTITY NAME:Table}
Ticket No:{TICKET NO}
{ENTITY NAME:Customer}
Date: {TICKET DATE}
Time: {TIME}
Server: {USER NAME}
-
{ORDERS}
=
{DISCOUNTS}
[Total Gift:|{ORDER STATE TOTAL:Gift}]
Sub-Total:|{PLAIN TOTAL}
Sales Tax:|{TAX TOTAL}
TOTAL:|{TICKET TOTAL}
{PAYMENTS}
=
-T H A N K Y O U-
[DISCOUNTS]
{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}
[PAYMENTS]
{PAYMENT NAME}|{PAYMENT AMOUNT}
[ORDERS]
– Default format for orders
- {QUANTITY} {NAME}|{PRICE}
{ORDER TAGS}
[ORDERS:Gift]
– Format for gifted orders
- {QUANTITY} {NAME}|GIFT
{ORDER TAGS}
[ORDERS:Void]
– Nothing will print for void lines
[ORDER TAGS]
– Format for order tags
{ORDER TAG NAME} | {ORDER TAG PRICE}
[ENTITIES:Table]
– Table entity format
Table: {ENTITY NAME}
[ENTITIES:Customer]
– Customer entity format
Customer: {ENTITY NAME} | {ENTITY DATA:Phone}
Jesse
August 28, 2014, 2:15am
5
OK try this template.
[LAYOUT]
-- General layout
Customer Receipt
Table No: {ENTITY NAME:Table}
Ticket No:{TICKET NO}
{ENTITY NAME:Customer}
Date: {TICKET DATE}
Time: {TIME}
Server: {USER NAME}
-
{ORDERS}
=
{DISCOUNTS}
[Total Gift:|{ORDER STATE TOTAL:Gift}]
Sub-Total:|{PLAIN TOTAL}
Sales Tax:|{TAX TOTAL}
TOTAL:|{TICKET TOTAL}
{PAYMENTS}
=
-T H A N K Y O U-
[DISCOUNTS]
{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}
[PAYMENTS]
{PAYMENT NAME}|{PAYMENT AMOUNT}
[ORDERS]
-- Default format for orders
- {QUANTITY} {NAME}|{PRICE}
{ORDER TAGS}
[ORDERS:Gift]
-- Format for gifted orders
- {QUANTITY} {NAME}|GIFT
[ORDERS:Void]
-- Nothing will print for void lines
[ORDER TAGS]
-- Format for order tags
{ORDER TAG NAME} | {ORDER TAG PRICE}
[ENTITIES:Table]
-- Table entity format
Table: {ENTITY NAME}
[ENTITIES:Customer]
-- Customer entity format
Customer: {ENTITY NAME} | {ENTITY DATA:Phone}
na1978
August 28, 2014, 2:46am
6
@kendash ,
Thanks for your help. I will try it Friday and will let you know.
na1978
August 30, 2014, 4:16pm
7
@kendash
Thanks for posting the template. I checked your template, but I can not seem to find the difference.
Can you highlight the difference?
Thank you.
Jesse
August 30, 2014, 8:54pm
8
I believe your issue is something else entirely. With the method of setting price using variable and expression for some reason it is not reading {ORDER TAG PRICE} I read where @QMcKay has already brought it to @emre attention in a different post.
{ORDER TAG PRICE} should have shown the value of the price in ORDER TAG If you set static prices for ORDER TAGs it works fine.
I have not built a Discount solution yet. I plan to soon.