In this how to, we will go through the steps of listing catalog items based on their kind in order to generate the correct UI elements that contains enough data to have an in-game store.
Firstly we will get a list of all catalog items. Afterwards we will use the custom function which the LootLocker SDK offers. Convert Catalog to Inline Items.
Once this is done, we must check which kind of item we're dealing with. For this we'll switch between the kind and iterate through the data.
Now you can take each individual detail and attach it to some UI to display a proper in-game store.
Conclusion
In this how to, we've received a list of catalog items, converted it into an inline list, which we can use to display all the items available for purchase. If you want to learn more about our Catalogs press here, other important reads can be found in Economy, Currencies and Wallets.