question

wsadiq avatar image
wsadiq asked

Get the category from which an item was selected

When an item belongs to multiple categories, is there a way to find out which category was the item selected from? I know that, using the android sdk, you can call getCategories on the InventoryConnector to get the categories an item belongs to but that is not what I am looking for. I am trying to find out which of the of the multiple categories that the item belongs to was it selected from.


So for example if there are 2 categories that an item call "Fish Burger" belongs to - "Sandwitches" and "Special of the day" and the fish burger is selected from the "Special of the day" category, then I want to know that category name or id.


Thanks for your response in advance.

OrdersClover Android SDKInventory
10 |2000

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

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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