Store Decoration in OpenCart: Modifying server options

Now, we will modify some server settings. When we go into production, we can log errors on a log file. Here, we can also set the output compression level.

For setting a store, SSL-enabled service is pretty important. This will make our store secure. The transactions will be secure. We can enable SSL service for our store in this section.

1. Getting started

To set server options, we need to log in as admin with our store. We will use our stored credentials for login.

2.  How to do it

We will go to System | Settings, and then click on the Server tab. It will open up the following window:

We will see the available fields of server options.

  • Use SSL: To use SSL check with our host, we need an SSL certificate installed and added to the SSL URL to the admin config file. For now, we will set it to no. There are many companies that provide an SSL certificate.
  • Encryption Key: This encryption key will be used to process any private information securely. We will set it as shops777.
  • Use SEO URLs: By choosing yes, our store will use SEO-friendly URLs.
  • Output Compression Level: We can set the output compression level here. Nine is the maximum level.
  • Display Errors: We will decide whether we want to display errors on the live site.
  • Log Errors: We will log our errors.
  • Error Log Filename: We set the error log filename.

We will save it with the Save button.

We have set the store configurations. Now, we will upload some products to our store.

Source: Hasan Tahsin (2011), OpenCart 1.4 Template Design Cookbook, Packt Publishing.

Leave a Reply

Your email address will not be published. Required fields are marked *