How to print Custom Product Tag caption field

hello,
i add a Product tag caption field: Vietnamese
to translate the product name to vietnamse language.
How do i print out this product name in my language in the bill?

Thanks

Use {ITEM TAG:X}


Please tell me more clear, I add this code:
-
{ORDERS}
{ITEM TAG:TENVN}
=
and it print out this:

  • 2 Black CF.Large               50,000.00
  • 1 Black CF.Small               15,000.00
  • 1 Black CF                     20,000.00
  • 1 Milk                              1.50
    {ITEM TAG:TENVN}
    ==========================================

@emre please help me with this error

It will be a little hard to format your printer templates with trial & error. Better you can refer to Printing Tutorial in Detail tutorial to understand how it works.

If you want to use TENVN item tag instead of product name you should replace {NAME} tag with {ITEM TAG:TENVN}. Since {ITEM TAG:X} is related with orders you should use it under orders template section that marked with [ORDERS].

2 Likes

@vuongduongquoc, as @emre already mentioned, your {ITEM TAG:X} should be placed under [ORDERS], not under {ORDERS}.

Your template may look something like this:

[LAYOUT]
<T>ORDER
<J00>{TICKET DATE} {TICKET TIME}| #{TICKET NO}
<F>-
{ORDERS}

[ORDERS]
<J00>{QUANTITY} {NAME}|{PRICE}
{ORDER TAGS}

You want something like this:

[LAYOUT]
<T>ORDER
<J00>{TICKET DATE} {TICKET TIME}| #{TICKET NO}
<F>-
{ORDERS}

[ORDERS]
<J00>{QUANTITY} {ITEM TAG:TENVN}|{PRICE}
{ORDER TAGS}

Notice I replaced {NAME} with {ITEM TAG:TENVN} under the [ORDERS] section, but you could use both at the same time.

3 Likes

@QMcKay thank you very much for the detailed explanation. I’ve referenced your sample from custom product tags tutorial…

1 Like

Super. I’m totally in love with this great soft.