Skip to main content
page last edited on 5 October 2022

X-Cart Configuration

Version: 5.5

.env

The main settings get into the application through the environment variables (ENV). For convenience, you can use the file .env.local in the project root. The list of available options and their default values can be found in the .env file in the project root. This file should not be edited; to change the values, you must create a file .env.local, if that file has not yet been created previously, and add the variable values you require to that file.

config (yaml)

More complex application configuration can be done through symfony https://symfony.com/doc/current/configuration.html

X-Cart settings with their respective descriptions and default values can be found in the file config/packages/x_cart.yaml. This file should not be edited; to change the settings, you must create a new file config/local/x_cart.yaml, if such a file does not already exist, and add the variables and values you require to that file taking care to preserve the original structure.

Database

The configuration pertaining to the business logic of X-Cart or X-Cart add-ons is stored in the database and can be edited using the interface or programmatically.