Skip to main content

Shop

Players can utilize their in-game economy with Shop module from Yarsa Play. Tokens, credits, gems, coins, or points, acquired through gameplay achievements, microtransactions, or rewards from events and challenges can be used to make these purchases in-game.

With the Shop module, you can:

  • Fully customize your shop items to meet your game's requirements.

  • Offer individual items or create player-friendly bundles with item combos, providing flexibility in your game's economy.

  • Maintain complete control over pricing strategies. For example, in games that use both coins and gems for transactions, certain items can be purchased with only coins, only gems, or a combination of both.

This feature, facilitated by Yarsa Play, promotes in-app purchases (IAP). It proves particularly beneficial for indie or small-scale game developers facing challenges in managing game monetization, as items can be purchased with in-game currency or microtransactions.

Create Your Shop with Yarsa Play

What You’ll Need:

  • An organization and game project created in Yarsa Play

  • Pre-added files in the Assets and Inventory module

  • Shop item specification, including pricing details and product ID for IAP

  • You can add items to your shop based on two options:

Buying with in-game currency

Players can use their coins, gems or any other in-game currency item from the game to purchase the items listed under this option.

Click the Create Shop Item button at the top right, and fill in the empty fields and submit it as per your requirement. An example for the TNT item has been showcased. create Shop Item Customize Spend Item For an item that can be purchased with in-game currencies, click on the Spend Items button.

Next, click on the Create Shop Spend Item button to add the accepted in-game currency needed to purchase the TNT.

If the in-game currency item has been added to your Inventory module, you can find the option in the drop-down menu under the Inventory Item title. Create Shop Spend Item Choose the currency item, specify the amount needed to purchase TNT, and click on the Submit button to save the entered data. You can add individual or multiple spend items as required. Shop Spend Items This implies that to purchase TNT, players need to spend 50 coins and 20 gems.

Likewise, you can create a shop bundle by including two or more receivable items from the Receive Items option. For instance, you can create a "Destruction Bundle" containing TNT and the Hammer. Customize Receive Items

Buying through in-app purchase

Simply follow the aforementioned steps to add an item and enable the IAP option to feature it in the shop as an in-app purchase item. IAP Item Provide your custom Product ID, which will be further linked to the designated platform, and set the price of the item in cents (USD). The IAP items can also be an individual item or an item bundle.

The added items can be viewed in a list format. Shop Item List The dashboard setup for the Shop module is complete. You can now refer to our Shop API documentation for monitoring shop items and managing purchase workflows.