Create Web Shop for mobile games
A Web Shop is a solution that allows you to sell virtual goods, virtual currency, and bundles using the Xsolla payment interface and a store interface on your website. Users will have access to over 700 payment methods.
The page below describes how to create a website using the Web Shop template. To learn more about the solution and utilize all of its features, refer to the documentation.
To create a Web Shop:
- Create a project in the Publisher Account.
- Create a website.
- Configure the key blocks.
- Set up shopping cart.
Create site
- Open your project in Publisher Account.
- Click Site Builder in the side menu.
- Click Create site.
- Select the Web Shop template.
- Add a link to the game on Google Play or App Store to preconfigure the store interface (logo, background image, colors, text in the footer). If you don’t want to use the game data, set the Use game info from Google Play or App Store toggle to Off.
- Click Create.
- Choose:
- global theme of the site
- colors of main elements
- button’s roundness
- header fonts and body texts
- In the main part of the builder:
- Upload images and videos to blocks
- Edit the texts that will be visible to users
![](https://cdn.xsolla.net/developers/v-20240906-v01/images//solutions/web-shop/create-site/builder.png)
Configure key blocks
All blocks contain default settings. You can choose to enable or disable specific block functions and customize them as desired.
Set up Header block
The block in the header of the site. Header displays user information and contains site navigation elements. You can fix the block so it remains visible on the screen when scrolling through the site.- Set the corresponding toggles to the On position:
- Login Button. The user authentication button will be displayed in the site header.
- Fixed position. This feature allows the header to remain visible when scrolling the page.
- Custom Background. The header background will change to a custom background.
- Configure the buttons in the block.
![](https://cdn.xsolla.net/developers/v-20240906-v01/images//solutions/web-shop/web-shop-create-site-2.png)
Lead block
Block with basic information about your Web Shop - the game the site is created for and who the developer is. If you didn’t add a link to Google Play or the App Store when creating the site, configure the following elements of Lead block in the main part of the constructor:- Add the game icon.
- Specify the game name.
- Specify the game developer.
- Adding a background image.
- Configure the cards with site information by toggling the switches to the On position:
- Description cards
- Card icons
- Card titles
- Card descriptions
![](https://cdn.xsolla.net/developers/v-20240906-v01/images//solutions/web-shop/lead_block.png)
Fast login
The Fast Login block provides users with the ability to authenticate on the site. You can use the block in addition to the login button in the header or instead of it. The appearance and capabilities of the block depend on the selected authentication method.- Toggle the Instructions switch to On.
- Click on the line that appears at the bottom of the block.
- Replace the text of the instruction for users.
If needed, customize the block by:
- Adjusting the display of the block’s header and description.
- Replacing the default texts with your own.
To configure the block when using user ID authentication:
- Adjust the display of the block’s header and description. You can also replace the default text with your own.
- To show instructions on how to find the user ID in the game, toggle the Instruction switch to On. Click on the appearing line at the bottom of the block and replace the text that users will see.
Set up block Store
Block for selling virtual items, bundles, and virtual currency packs. This block contains automatically created sections you can delete and replace with new ones.
- If needed, customize the block by:
- Adding a title
- Enabling the display of product group names
- Enabling tabs for easy navigation in the store
- Adding a custom background
- Configuring the login call-to-action button.
- In the store section, select the type of item you want to sell on the site and its group from the dropdown list.
- In the store section choose Item card layout:
- Featured. This card layout allows you to draw the attention of users to products or special offers. We recommend that you use this layout for bonus and discount promotions, and time and number limited promotions and items and bundles.
In the card layout settings you can:- hide or show an item’s image and description
- ensure fit or maximize an item’s image
- change text color
- use a custom background for the carousel
- Featured. This card layout allows you to draw the attention of users to products or special offers. We recommend that you use this layout for bonus and discount promotions, and time and number limited promotions and items and bundles.
- Horizontal. This card layout allows you to place the name, description, and price of the product to the right of the image.
In the card layout settings you can:- hide or show an item’s description
- ensure fit or maximize an item’s image
- enable or disable horizontal scroll on mobile devices
- use a custom background for the section
- Vertical. This card layout allows you to place the name, description, and price of the product at the bottom of the image.
In the card layout settings you can:- hide or show an item’s description
- ensure fit or maximize an item’s image
- enable or disable horizontal scroll on mobile devices
- use a custom background for the section
![](https://cdn.xsolla.net/developers/v-20240906-v01/images//solutions/web-shop/create-site/vertical.png)
- Large. We recommend using this card layout for bundles and bonuses. This shows the composition of the card on the landing without clicking on the card.
In the card layout settings you can:- hide or show an item’s description
- ensure fit or maximize an item’s image
- enable or disable horizontal scroll on mobile devices
- use a custom background for the section
![](https://cdn.xsolla.net/developers/v-20240906-v01/images//solutions/web-shop/create-site/large.png)
- If needed, customize the card layout by setting the corresponding toggles to On in the card layout settings.
- You can Hide section if empty by toggling the corresponding switch to the On position.
Set up Footer block
- Select layout style.
- Customize background.
- Add Share options buttons, configure social media icons.
- Add links to the social networks.
- Add age restrictions.
Set up shopping cart
You can use the shopping cart on the website. To do this:- In the main section of the builder, go to the Cart Settings block.
- Set the Use shopping cart toggle switch to On.
- Сonfigure additional shopping cart functions (optional). To do this, set the corresponding toggle switches to On:
- Show promo code field – allows users to use a promo code or coupon in the shopping cart interface;
- Login before shopping cart – opens the authentication window when navigating to the shopping cart if the user was not previously logged in.
![](https://cdn.xsolla.net/developers/v-20240906-v01/images//solutions/web-shop/create-site/cart.png)
Useful links
- Web Shop Integration Guide
- All Site Builder blocks
Was this article helpful?
Rate this page
Don’t want to answer
Thank you for your feedback!
Found a typo or other text error? Select the text and press Ctrl+Enter.