How to set own Database connection for the Virto Commerce module

Although “VirtoCommerce” is the default database connection string, you can set own connection string for every module.

You should use Module Id as name of connection string. You can find Module Id in module manifest.

Here Module Id for Order module.

We recommend to use SQL Database Elastic Pool and set own connection strings for:

  • VirtoCommerce.Cart
  • VirtoCommerce.Catalog
  • VirtoCommerce.Customer
  • VirtoCommerce.Orders
  • VirtoCommerce.Pricing
  • VirtoCommerce - Default database for other modules

It decreases database size and cost, increases performance and simplifies maintenance tasks.

1 Like