OpenCart – Server Gigabit Guide https://www.servergigabit.com/guide VPS Hosting | Dedicated Server Tue, 14 Mar 2023 09:08:38 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://www.servergigabit.com/guide/wp-content/uploads/2020/07/cropped-GIGABIT_logo-1-32x32.png OpenCart – Server Gigabit Guide https://www.servergigabit.com/guide 32 32 How to configure Email Settings in OpenCart 1.5 https://www.servergigabit.com/guide/kb/how-to-configure-email-settings-in-opencart-1-5 Thu, 04 Jun 2020 06:45:12 +0000 https://www.wesbytes.com/guide/?post_type=kb&p=751 This article will show you how you can configure a contact form with SMTP. Login to your Open Cart Dashboard. Go to System > Settings Select your Store Name by checking the box next to it and select “Edit” in the far right Click on the Mail tab Fill in the settings as needed. Please select “SMTP” for the mail protocol. Sample as…

The post How to configure Email Settings in OpenCart 1.5 appeared first on Server Gigabit Guide.

]]>
This article will show you how you can configure a contact form with SMTP.

    1. Login to your Open Cart Dashboard.
    2. Go to System > Settings
  1. Select your Store Name by checking the box next to it and select “Edit” in the far right
  2. Click on the Mail tab
  3. Fill in the settings as needed. Please select “SMTP” for the mail protocol.
  4. opencart

Sample as below:

opencart

4. Click “Save” in the upper right corner

5. Navigate to your contact form page and key in the information and send.contact us

6. You should receive a test email in your Inbox if the SMTP configuration is correct with sample email as below:enquiry opencart

The post How to configure Email Settings in OpenCart 1.5 appeared first on Server Gigabit Guide.

]]>
How to force Opencart to work with HTTPS https://www.servergigabit.com/guide/kb/how-to-force-opencart-to-work-with-https Thu, 04 Jun 2020 06:14:11 +0000 https://www.wesbytes.com/guide/?post_type=kb&p=750 This article will talk about running Opencart application with HTTPS For this case we shall use sample domain : opencart.worldfortesting.com Webpage without HTTP : After SSL installed. If you tried to access the webpage with HTTPS, you might see the application broken as below : In order for the Opencart application to work well with HTTPS, some updates have to…

The post How to force Opencart to work with HTTPS appeared first on Server Gigabit Guide.

]]>
This article will talk about running Opencart application with HTTPS

For this case we shall use sample domain : opencart.worldfortesting.com

Webpage without HTTP :opencart

After SSL installed. If you tried to access the webpage with HTTPS, you might see the application broken as below :ssl installed

In order for the Opencart application to work well with HTTPS, some updates have to be done as below :

1. Set your HTTPS URL in config.php Files

Before you enable the SSL in your OpenCart admin dashboard, you need to edit the two configuration files of your

OpenCart

2. Both files are called config.php and they are located under the root directory of your OpenCart application and under the admin folder.opencart application

3. Choose the file and click Code Editor to edit the config.php file.

You need to locate the following section in both of your files:

// HTTPS
define(‘HTTPS_SERVER’, ‘http://yourdomain.com/’);

Modify the line to include https instead of http:

// HTTPS
define(‘HTTPS_SERVER’, ‘https://yourdomain.com/’);

Sample done as below :opencart

4. Enable SSL via the OpenCart Admin

Now you need to activate the SSL support via the admin dashboard.

Firstly login to your  admin dashboardlogin admin dashboard

5. Check the settings part and click “Edit” to edit the store settingopencart dashboard settngs

Proceed to the Server settings tab. And you can see Use SSL option there. Click on the Yes radio button and save your settings.edit settings

3. Force HTTPS only for your domain name

a) Create a file name .htaccess in your domain folder, and put in below code (the domain for this case is opencart.worldfortesting.com) :

opencart

===========

RewriteEngine On
RewriteCond %{HTTP_HOST} ^opencart.worldfortesting\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://opencart.worldfortesting.com/$1 [R,L]

===========

b) Open the .htaccess again

Replace this link as below

=========

<FilesMatch “(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))”>

=========

to link as below

=========

<FilesMatch “(?i)((\.tpl|\.ini|\.log))”>

=========

With above, user accessing to http://opencart.worldfortesting.com (without HTTPS) shall be redirected to https://opencart.worldfortesting.com which is the page with SSL secured. Below is the screenshot :opencart secure

The post How to force Opencart to work with HTTPS appeared first on Server Gigabit Guide.

]]>