OpenCart Getting Started
OpenCart is an easy to-use, powerful, open source online store management program that can manage multiple online stores from a single back-end. Administrative area simply by filling in forms and clicking “Save”. There are many professionally-written extensions available to customize the store to your needs.it have 13000+ modules and themes on Marketplace for all your needs.
If you have installed Websoft9 OpenCart, the following steps is for your quick start
Preparation
- Get the Internet IP on your Cloud Platform
- Check you Inbound of Security Group Rule of Cloud Console to ensure the TCP:80 is allowed
- Get default username and password of OpenCart
- Complete Five steps for Domain if you want to use Domain for OpenCart
OpenCart Initialization
Steps for you
- Using local Chrome or Firefox to visit the URL https://domain or https://Internet IP,you will enter initial wizard of OpenCart
- Agree license, Click "Continue"
- Verify the environment and go to next step
- Set up an administrator account
- When the configuration is completed,it will go the following interface
- Please delete /data/apps/opencart/data/opencart/install folder.
- You can use OpenCart now
More useful OpenCart guide, please refer to OpenCart Docs to get more details
Having trouble?
Below is for you to solve problem, and you can contact Websoft9 Support or refer to Troubleshoot + FAQ to get more.
OpenCart QuickStart
OpenCart Setup
OpenCart Extension
OpenCart have 13000+ extention published on the Marketplace, how to insatll them?
-
Find the extension you want to used on Marketplace and download it
-
Log in OpenCart console, open:【Extensions】>【Installer】
-
Upload your extension compressed file
-
Installing it
OpenCart language
Enable a new language package in Opencart have the following steps(e.g Chinese lanuage)
-
Go to OpenCart Marketplace, download suitable lanuage package
-
Unzip package, you can see a folder name
upload
that includes two folderadmin
,catalog
-
Use SFTP to upload them to your Server
admin->language->zh_cn to /data/apps/opencart/data/opencart/admin/language
catalog->language->zh-cn to /data/apps/opencart/data/opencart/catalog/language -
Log in OpenCart, go to【System】>【localization】>【languages】, add new language and configure it
-
Enable language both for catalog and admin: open 【System】>【Settings】, the 【Language】 for catalog, 【Administration Language】for admin
-
Refresh OpenCart, display the new language
OpenCart vQmod
Opencart 2.0 using vQmod for installing extensions, so you need to install and enable vQmod:
- Download vQmod
- Go to Extensions > Installer, upload vqmod.zip
- Go to Extensions > Extensions > Modules > Integrated VQmod to install and then edit to enable this module
SMTP
-
Log in SendGrid console, prepare your SMTP settings like the follow sample
SMTP host: smtp.sendgrid.net
SMTP port: 25 or 587 for unencrypted/TLS email, 465 for SSL-encrypted email
SMTP Authentication: must be checked
SMTP Encryption: must SSL
SMTP username: websoft9smpt
SMTP password: #fdfwwBJ8f -
Log in OpenCart console as administrator, configure SMTP
- SMTP Hostname: tls:// or ssl:// is need
- Make sure you have input correct SMTP items
-
Send testing Email
OpenCart change domain
You can change the domain of OpenCart by the following steps:
- Complete the new Domain resolution and Domain binding
- Modify the OpenCart configuration
config.php
in the root directory// HTTP
define('HTTP_SERVER', 'http://example.com/');
// HTTPS
define('HTTPS_SERVER', 'https://example.com/'); - Modify the OpenCart configuration
admin/config.php
in the root directory// HTTP
define('HTTP_SERVER', 'http://www.example.com/admin/');
define('HTTP_CATALOG', 'http://www.example.com/');
// HTTPS
define('HTTPS_SERVER', 'http://www.example.com/admin/');
define('HTTPS_CATALOG', 'http://www.example.com/'); - Restart PHP-FPM Service
Reference sheet
The below items and General parameter sheet is maybe useful for you manage OpenCart
Run docker ps
command, view all Containers when OpenCart is running:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b6addfb7c879 phpmyadmin:latest "/docker-entrypoint.…" 6 minutes ago Up 6 minutes 0.0.0.0:9090->80/tcp, :::9090->80/tcp phpmyadmin
25555368fb33 websoft9dev/opencart:latest "docker-php-entrypoi…" 7 minutes ago Up 7 minutes 0.0.0.0:9001->80/tcp, :::9001->80/tcp opencart
172c1fafc338 mysql:5.7 "docker-entrypoint.s…" 7 minutes ago Up 7 minutes 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp opencart-db
Path
OpenCart installation directory: /data/apps/opencart
OpenCart catalog configuration file: /data/apps/opencart/data/opencart/config.php
OpenCart admin configuration file: /data/apps/opencart/data/opencart/admin/config.php
Port
No special port
Version
cat /data/apps/opencart/data/opencart/index.php |grep VERSION |cut -d"'" -f4
Service
sudo docker start | stop | restart | stats opencart
CLI
API
curl http://myopencart.example.com/index.php?route=api/cart/add
Refer to OpenCart API