On this documentation page:
https://docs.osclasspoint.com/hitems-phpIt says that if you want to view the item category name you have to use the command:
osc_item_category($locale = “”) – Gets category from current item
Only with the above code you get the category the listing is in (the subcategory).
Would it also be possible to get with a command the main category where the subcategory falls under?