question

brendan avatar image
brendan asked

Groupings of subsets of my catalog

Question from a developer:

I need to display just a subset of my catalog to users, based on different factors (weekend sales, character class, etc.). How can I best accomplish that (particularly if I need to adjust prices)?

10 |1200

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

1 Answer

·
brendan avatar image
brendan answered

In order to simplify the job of managing your list of goods available for purchase in-game, we have added a Store class which works with your defined Catalog versions to provide sets of items and their prices. This allows games to have a logical distinction between the Catalog of goods which contains the definition of the items, their default prices, and their properties, and the actual Store used to present items for sale to the player, with any custom pricing.

For example, a game could have weapons, armor, and accessories for all players in the Catalog, and then set up distinct Stores for different item types, character classes, user behaviors, or sale dates.

To get started using Stores, you can use the Admin SetStoreItems and UpdateStoreItems API calls to set them up, and the Client GetStoreItems API call for us in-game (in addition to the Admin GetStoreItems API call for testing and validation).

Titles already using the PlayFab Catalog will not be impacted by this update. The Store class works in conjunction with the existing Catalog class, to give developers the option of using them in this manner - no Catalog functionality has been deprecated as a result of this update.

10 |1200

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

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.