question

Vishal avatar image
Vishal asked ·

Use Clover Mini(to Display item, quantity and Price) instead of Pole display

Hi

I am using remote-pay-windows application with clover mini to display the orders via USB display App.

I am using Windows 8.1 64 bit OS.

Now i want to display the item, quantity and price when scan the item or select the item from POS software to Clover device using USB Cable or Web socket service or other method to eliminate the Pole Display device.

How can i use Clover mini instead of Pole Display to display the item.

For example: If i select the item in the pos software it should be display in the Clover Mini display using USB Display app or any other App. How can i do that?

I hope you understand my question.

Looking forward your reply.

Regards Guna

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

dtooker avatar image
dtooker answered ·

You can use the DisplayOrder and DisplayLineItem classes in the SDK. Something like this (in VB pseudocode- C# is very similar):
'Instanitate Order
Dim lDisplayOrder As New com.clover.remote.order.DisplayOrder
'Loop through items and add them to the order's LineItems collection
lDisplayLineItem = New com.clover.remote.order.DisplayLineItem
With lDisplayLineItem
.id = mTransaction.BuyList.LineItem(i).id
.name = mTransaction.BuyList.LineItem(i).Description
.price = mTransaction.BuyList.LineItem(i).Sell.ToString("N")
If mTransaction.BuyList.LineItem(i).Tax <> 0 Then
.note = "Tax: " & mTransaction.BuyList.LineItem(i).Tax.ToString("N")
End If
End With
lDisplayOrder.lineItems.Add(lDisplayLineItem)
'When finished, add the totals to the order object, and display.
lDisplayOrder.id = "TempOrderId"
lDisplayOrder.subtotal = CDec(Total - Tax).ToString("N")
lDisplayOrder.tax = Tax.ToString("N")
lDisplayOrder.total = Total.ToString("N")
CloverConnector.ShowDisplayOrder(lDisplayOrder)

1 comment Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community