# How to show KG or GM in the product Item

**URL:** <https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789>\
**Category:** V5 Question\
**Created:** [December 22, 2023, 10:03pm UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789 "2023-12-22T22:03:25Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![husain](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/h/ce73a5/32.png) [@husain](https://forum.sambapos.com/u/husain)\
**Post date:** [December 22, 2023, 10:03pm UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789/1 "2023-12-22T22:03:25Z")

</div>

Hi, I am using manual weight and want to show item in gram or kilogram on ticket display so I can print it for customer. Currently it just show some decimal numbers as value but no gm or kg. Please guide how to achieve this.

See the attached image for ref.

 ![kg-or-gm-on-item-display](https://forum.sambapos.com/uploads/default/original/3X/9/8/983faa6b5d9b131e3b4fc11e379b84034e1bfcb8.jpeg)

---

<div class="post-metadata">

**Author:** ![Memo](https://forum.sambapos.com/user_avatar/forum.sambapos.com/memo/32/55443_2.png) [@Memo](https://forum.sambapos.com/u/Memo)\
**Post date:** [December 23, 2023, 4:11pm UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789/2 "2023-12-23T16:11:20Z")

</div>

There’s no way, currently, to do that.

I would recommend changing the item name to include it’s unit of measure, e.g. `"Cooked Tenderloin (g)"`.

---

<div class="post-metadata">

**Author:** ![Lloyd\_Tailor](https://forum.sambapos.com/user_avatar/forum.sambapos.com/lloyd_tailor/32/62751_2.png) [@Lloyd\_Tailor](https://forum.sambapos.com/u/Lloyd_Tailor)\
**Post date:** [December 23, 2023, 10:32pm UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789/3 "2023-12-23T22:32:54Z")

</div>

you can only show that in the customer receipt  
Go to manage\>\>\>Settings\>\>\> program settings\>\>\>Product Tag Caption and put in Unit,Unit2 then you go edit your ticket template and add this under  
` [ORDERS]`  
`<J00> {QUANTITY}[=('{QUANTITY}'>='1' ? '{ITEM TAG:Unit}' : '‌{ITEM TAG:Unit2}')] {NAME}|{TOTAL PRICE}`

and edit your Kitchen template and add this under  
` [ORDERS]`  
`<J00> {QUANTITY}[=('{QUANTITY}'>='1' ? '{ITEM TAG:Unit}' : '‌{ITEM TAG:Unit2}')] {NAME}`

then you go under Products and edit the unit of measure according to the product being sold  
 ![Screenshot_3](https://forum.sambapos.com/uploads/default/original/3X/7/5/75bda89c5c5537846a50b3457c84ffba429aa24f.png)  
 ![Screenshot_4](https://forum.sambapos.com/uploads/default/original/3X/9/4/941b3248bbe940fb170b1be845b944ee871aa124.png)

---

<div class="post-metadata">

**Author:** ![husain](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/h/ce73a5/32.png) [@husain](https://forum.sambapos.com/u/husain)\
**Post date:** [January 19, 2024, 8:58pm UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789/4 "2024-01-19T20:58:39Z")

</div>

Hello Llyod,  
This works Great!, Thank you so much. One minor issue please guide  
 ![image](https://forum.sambapos.com/uploads/default/original/3X/f/c/fc7fbc088a592336cfe02b7e82ff7ed0f00ebfa4.png)

when I place 350 gm meat it show 0.35g how can I rectify this.

---

<div class="post-metadata">

**Author:** ![Lloyd\_Tailor](https://forum.sambapos.com/user_avatar/forum.sambapos.com/lloyd_tailor/32/62751_2.png) [@Lloyd\_Tailor](https://forum.sambapos.com/u/Lloyd_Tailor)\
**Post date:** [January 20, 2024, 12:49pm UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789/5 "2024-01-20T12:49:27Z")

</div>

It’s actually showing correctly; that’s how it will appear.

Please note that, for example, if you enter 0.350g or any number that ends with a zero after the comma, it will be displayed as 0.35g in your printout.

---

<div class="post-metadata">

**Author:** ![husain](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/h/ce73a5/32.png) [@husain](https://forum.sambapos.com/u/husain)\
**Post date:** [January 20, 2024, 7:59pm UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789/6 "2024-01-20T19:59:27Z")

</div>

is there any way to make 3rd number to appear after decimal. In grocery stores customers need such info on their receipt. Rest all works good.

---

<div class="post-metadata">

**Author:** ![Lloyd\_Tailor](https://forum.sambapos.com/user_avatar/forum.sambapos.com/lloyd_tailor/32/62751_2.png) [@Lloyd\_Tailor](https://forum.sambapos.com/u/Lloyd_Tailor)\
**Post date:** [January 21, 2024, 11:31am UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789/8 "2024-01-21T11:31:50Z")

</div>

Check this post, you will get your answer there

> [@Scale weight problem](https://forum.sambapos.com/t/scale-weight-problem/19308):
>
> Hi everbady ; I have a problem, when the weigthing result like 1.250 gr is and it seems in ticket as 1.25 gr. But when the weigthing result 1.251 gr is, it seems in ticket 1.251 gr Does somebody has any idea, how can i fix this decimal problem ? I want the results to look like below : 1.250 gr 1.342 gr 1.870 gr 1.921 gr

---

<div class="post-metadata">

**Author:** ![husain](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/h/ce73a5/32.png) [@husain](https://forum.sambapos.com/u/husain)\
**Post date:** [January 21, 2024, 8:09pm UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789/9 "2024-01-21T20:09:19Z")

</div>

Hi Lloyd, Thank you so much, its getting better and better. I can display on ticket KG and Gr, Also decimal 0.123 number is visible on ticket print and screen. One last issue please help. I am using meat section barcode and this one works well too. BUT when scan how it does not display weight.  
 ![image](https://forum.sambapos.com/uploads/default/original/3X/7/1/71f00ff2e07989241fb8845d46cb67994bd42458.png)

I have achieved barcode meat scan from this post

> [@Barcode integration for meat section scale](https://forum.sambapos.com/t/barcode-integration-for-meat-section-scale/15418/25):
>
> This is how I did it, and to be honest, I have no idea how this really works. The only issue is that I need to click the CheckMark after the Numpad has the value: 27.85x00290 I thought having KeyCode 13 in the Action would do the trick, but if I put 13 in there, nothing happens. BTW, this completely ignores the Barcode settings that I showed in the previous post. I don’t know how to make that work. Don’t have a scanner myself. #Actions ##BC Store Value [Update Program Setting…

---

<div class="post-metadata">

**Author:** ![husain](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/h/ce73a5/32.png) [@husain](https://forum.sambapos.com/u/husain)\
**Post date:** [January 21, 2024, 8:14pm UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789/10 "2024-01-21T20:14:56Z")

</div>

how can I display the correct weight for this barcode 02-prefix 00290 product 045.00-price 9 decimal  
barcode is 0200290045009

- let say product is 1kg for £17.00 - for £45.00 weight can not display 1kg

I hope my explanation make sense

---

<div class="post-metadata">

**Author:** ![Lloyd\_Tailor](https://forum.sambapos.com/user_avatar/forum.sambapos.com/lloyd_tailor/32/62751_2.png) [@Lloyd\_Tailor](https://forum.sambapos.com/u/Lloyd_Tailor)\
**Post date:** [January 21, 2024, 8:27pm UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789/11 "2024-01-21T20:27:13Z")

</div>

im sorry i dont work with weights…Search on the forum or make a new post about your issue

---

<div class="post-metadata">

**Author:** ![ffaajj](https://forum.sambapos.com/user_avatar/forum.sambapos.com/ffaajj/32/39191_2.png) [@ffaajj](https://forum.sambapos.com/u/ffaajj)\
**Post date:** [January 22, 2024, 4:59pm UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789/13 "2024-01-22T16:59:16Z")

</div>

Hi @husain

Did you set up BARCODE in program setting?

Enter to Manager-\>Program Settings-\>Barcode

setup Barcode setting as below:  
Weight Barcode Prefix: 02  
Weight Barcode Item Id Length: 5  
Weight Barcode Item Id Format: Empty  
Weight Barcode Quantity Length: 5

Enter barcode in product page as: 00290

---

<div class="post-metadata">

**Author:** ![husain](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/h/ce73a5/32.png) [@husain](https://forum.sambapos.com/u/husain)\
**Post date:** [January 27, 2024, 4:45pm UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789/14 "2024-01-27T16:45:13Z")

</div>

Yes, I did, but while scanning scanning the barcode I was having some errors so So, I changed Weight Barcode Quantity Length: 3 and it WORKING fine!

But how to display scanned barcode weight on the screen or receipt too?  
 ![image](https://forum.sambapos.com/uploads/default/original/3X/9/d/9d9d81067344e8872c735ed96da702c76dc497e6.png)

---

<div class="post-metadata">

**Author:** ![husain](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/h/ce73a5/32.png) [@husain](https://forum.sambapos.com/u/husain)\
**Post date:** [January 27, 2024, 4:49pm UTC](https://forum.sambapos.com/t/how-to-show-kg-or-gm-in-the-product-item/27789/15 "2024-01-27T16:49:00Z")

</div>

![image](https://forum.sambapos.com/uploads/default/original/3X/d/f/df7df5dfba7bb99589694d6c2e2c87a37f96cd4b.png)

how to achieve weight instead  
of “1”. I would be happy to see it on receipt, ticket screen can be ignored.
