How to edit CS-Cart configuration file¶
If you need to edit CS-Cart configuration files (
local_conf.php), you can do this with SSH/SFTP access.
Create SSH/SFTP account¶
Just follow the instruction. You will receive email with the access credentials. If you already have one, go to the next step.
Connect to your server¶
You can see how to connect to your server using SFTP in this article. If you prefer to use SSH, you can connect to the server like in this instruction. We are going to use the Filezilla application, but you can use any other software that can connect to the server by SFTP protocol.
Save the created connection for quicker access next time.
How to change settings¶
In the configuration file, you can change settings by changing value following the appropriate setting name.
Values can be four types
- string (text inside quotes
- numeric (just number like
- array (
Use correct syntax, it is important.
config.local.php may cause store unavailability. Good idea is to make a backup of this file before editing. Copy it with a different filename,
config.local.php.old for example.
Save file and exit text editor.
Done! You have successfully edited your CS-Cart configuration file.