question

saad-bin-iqbal avatar image
saad-bin-iqbal asked Jeffrey Blattman answered

How to get Category list with most popular or sold first as it is listed in Register Application.

I want to show Category list with most popular or sold on top as Clover Register app shows. I used InventoryContract class(provided by Clover SDK) to get Category list. I use query with sorting order by name(names). I need a proper query to get Category list sorted as in Register application.
Clover Android SDKClover Mini
1 comment
10 |2000

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

saad-bin-iqbal avatar image saad-bin-iqbal commented ·

@Jeffrey Blattman, @Jacob Abrams,

Again I need your help, guyz.

0 Likes 0 ·

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered
We don't track most popular / sold items directly like that. You'd need to track that yourself.

There is not a way for a developer to re-order items. It's a merchant-level feature exposed from the inventory app. You cannot do it programmatically.
10 |2000

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