Configure Multiple Stores on Virto Cloud¶
Virto Commerce lets you run multiple websites (stores) on a single platform instance, each with its domain, theme, and configurations while sharing the same catalogs and customer data. In practice, you create separate stores in the Virto Commerce Manager, assign catalogs/pricing, and upload individual themes. The new Virto Commerce frontend is fully headless and composable, so you can flexibly add any number of front-end sites.
Below is a step-by-step guide to set up multiple stores on Virto Cloud.
Prerequisites¶
-
Your Virto Commerce Platform is deployed and running on Virto Cloud.
Create and configure new stores¶
Follow the guide to configure a new store.
Create new Frontend Application¶
You can either create a new Virto Commerce Frontend Application or use ready ready-created artefact from Frontend releases
Integrate Frontend Application¶
To integrate a Frontend Application (for example, B2B-loyalty) into your Virto Commerce deployment:
Note
You can find all changes in this commit.
-
Navigate to the infra directory of your deployment repository and open the environments.yml file.
-
Within the themes section, add an entry for B2B-loyalty pointing to the appropriate theme package. For example:
-
Under the frontend section, add a new entry for B2B-loyalty with prerender set to true. For example:
-
Configure domain and routing in ingress:
Note
3rd-level domain for govirto.com will be enabled automatically. If you need additional steps for custom domain assignment, follow Virto Cloud documentation for it.
- host: virtostart-loyalty-store.govirto.com root: B2B-loyalty paths: - path: /xapi route: platform - path: /files route: platform - path: /connect/token route: platform - path: /graphql route: platform - path: /revoke/token route: platform - path: /api/files route: platform - path: /externalsignin route: platform - path: /signin-oidc route: platform - path: /signin-google route: platform
-
Apply the changes to your deployment environment using your standard deployment process.
The B2B-loyalty Frontend Application has been successfully added to your Virto Commerce deployment configuration: