If the Add to Cart button doesn’t work, check Error Console of your browser. If there are some errors after you click the Add to cart button, follow the instructions below.
Check permissions for the js directory of your CS-Cart installation, as well as all subdirectories and files of js. They must have read permissions for JavaScript functions to work properly.
To set up the permissions, complete the steps below:
chmod -R 755 js
The command sets the 755 permissions for the js directory, its subdirectories and all the files under these directories.
Note
The 755 permissions mean read, write and execute permissions for the user, and read and write permissions for the user group and others. Learn more about permissions in CS-Cart documentation.
If you don’t have terminal access to your server, change file access permissions with an FTP client. Most FTP clients have the Change permissions or Change mode functions that you can use to set the permissions described above. For more detailed instructions on how to set file permissions refer to your FTP client documentation.
Note
Contact your hosting support team for information about proper permissions for PHP files and directories.
Questions & Feedback
Have any questions that weren't answered here? Need help with solving a problem in your online store? Want to report a bug in our software? Find out how to contact us.