Order Tag Price not show in ticket and not show in print

Thank you this Tutorial DISCOUNT - Any Item - Ask Fixed Percent

after finish setting i try the order tag price of discount not show in ticket display and also when print bill as photo below

can i have your help please


2019-12-09_1-54-24

With limited information its hard to say.
Did you set it to be included in the order price? Does the order line total change?
Cant tell much from a single screenshot and print.
Should the order prices be 500 and 1000? If so then yes, looks like you have set order tag included in order price.

Thank you very much JTRTech

ok, maybe you can help me
in the screen i see te right amount in ticket tag


but when i print the ticket its shows just for 1 and it should be x2

[LAYOUT]
– General layout
C:\logo.bmp

Date:{TICKET DATE}|Time:{TIME}
Ticket No:{TICKET NO}

-
{DEPARTMENT}
-

{ORDERS}

=

{DISCOUNTS}
{SERVICES}
Total Gift:|{ORDER STATE TOTAL:Gift}
Total:|{TICKET TOTAL}
{PAYMENTS}

=
ESTE TICKET NO TIENE VALOR FISCAL
=
GRACIAS

[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
Cliente: {ENTITY NAME} | {ENTITY DATA:Phone}
Dir.{ENTITY DATA:Calle} {ENTITY DATA:Numero} {ENTITY DATA:Piso y Dto.}

[SERVICES]
{CALCULATION NAME}:|{CALCULATION TOTAL}

You have order tag price in template, ie how much one is and there are 2 because 2 qty on order.
Change order tag price to the total equivalent from the template help list of expressions.

ok i sopouse that is this comand but still not working

[ORDERS]
– Default format for orders
- {QUANTITY} {NAME}|{ORDER TAG TOTAL 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 TOTAL PRICE}

??? Dpnt understand. Still order tag price… order tag total price in orders section is not what I said.
…
Paste you template and be sure to select and use the code button and will show you…

ok, sorry be pacient with me i have no idea on programing and i dont know what are you mean with code button, its preformated text? sorry again

You dont need Order Tag Total Price there.

Further on in your template:

[ORDER TAGS]
– Format for order tags
* {ORDER TAG NAME} | {ORDER TAG TOTAL PRICE}

{ORDER TAG TOTAL PRICE} is total price for one modifier. Try replacing it with {ORDER TAG TOTAL} like in an example below.

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

This will give you a total for the order tag:

* {ORDER TAG NAME} |  [=F(TN('{QUANTITY}')*TN('{ORDER TAG TOTAL PRICE}'),'0.00')]

This will take the Order quantity ({QUANTITY}), in your receipt picture above, the β€œTE” line. Then multiply the Order Tag Price total ({ORDER TAG TOTAL PRICE}), Limon in your receipt picture. If you add another order tag with a different price, it will calculate it on it’s own line, just like the first Order Tag.

The [ ] brackets is going to show the result of the formula, if there is nothing to calculate, then nothing will show. (think of it like a magic on/off switch)
The = tells Samba that there is a formula that need to be calculated.
The F(xxxxxx,β€˜0.00’) in the formula, stands for β€œformat” and we are going to format it to β€˜0.00’ (which will display a number followed by a period/decimal and 2 numbers past the period/decimal).
The TN(β€˜xxx’) stands for β€œTo Number”, it will convert what’s inside the '' to a number. Even though it looks like they are numbers, to the computer they are a collection of characters, called a string. We need to tell Samba to treat the characters as numbers in order to do the calculation.

2 Likes

ok i tried with ORDER TAG TOTAL and still not working
where is the code button? i can t find it!

and this works perfect i will see how to implement for the others tags, thanks for your help!!!

Send a screenshot of your ticket template page for this particular print

ok its working perfect, if is necesary to the forum just tell me and i will upload the screen shot

No need if it is working fine

I’m sure you dont need to do math qty x tag price… there is definatly a tag for order tag price with qty accounted for.

You are right, Formula and {ORDER TAG TOTAL} give same results.
V5.2.26

1 Like

The problem with {ORDER TAG TOTAL} is that if there is more then 1 order tag, it will display the total of all order tags for each item:


Here is the tag list for Order Tags used for this image:

* {ORDER TAG QUANTITY} {ORDER TAG NAME} | {ORDER TAG PRICE} {ORDER TAG TOTAL} {ORDER TAG TOTAL PRICE} [=F(TN(’{QUANTITY}’)*TN(’{ORDER TAG TOTAL PRICE}’),β€˜0.00’)]

Column A: {ORDER TAG QUANTITY}
Column B: {ORDER TAG NAME}
Column C: {ORDER TAG PRICE}
Column D: {ORDER TAG TOTAL}
Column E: {ORDER TAG TOTAL PRICE}
Column T: [=F(TN(’{QUANTITY}’)*TN(’{ORDER TAG TOTAL PRICE}’),β€˜0.00’)]

This post might be able to explain it better:


Here is a similar question answered by QMcKay:

2 Likes

Fair enough, dont think i have hit this senario before of a priced tag with multiple qty on multiple qty order.
Interesting, suprised there isnt a tag for that specific value.

Oh, I see what you mean. Never really had that scenario either