How to install QuickCart on OpenSUSE Leap 42.3

To install Quick Cart on OpenSUSE Leap 42.3

Quick Cart is a free platform to create own shopping Websites like Flipkart, Ebay and Amazon etc. Although it is a simple-to-use application, it is considered to be one of the most powerful shopping carts. It can be installed and run on almost all the Linux distributions. It does not require an SQL database and just requires webserver and PHP to be installed on the system. Installing Quick Cart is so simple and takes only a few minutes. This tutorial, demonstrates the method to install Quick Cart on OpenSUSE Leap 42.3.

Requirements
Apache
Php7
zypper in php php-mysql php-gd php-mbstring php-common

Installing QuickCart

You should download the installation package by making use of the wget command in the following manner.

linuxhelp:~ # wget http://opensolution.org/download/home.html?sFile=Quick.Cart_v6.7.zip
--2017-11-28 13:51:13--  http://opensolution.org/download/home.html?sFile=Quick.Cart_v6.7.zip
Resolving opensolution.org (opensolution.org)... 94.152.51.156
Connecting to opensolution.org (opensolution.org)|94.152.51.156|:80... connected.
HTTP request sent, awaiting response... 
200 OK
Length: unspecified [application/zip]
Saving to: ‘ home.html?sFile=Quick.Cart_v6.7.zip’ 

    [ < =>                                                                                                          ] 661,518     --.-K/s   in 0.03s   

2017-11-28 13:51:25 (22.6 MB/s) - ‘ home.html?sFile=Quick.Cart_v6.7.zip’  saved [661518]

Once the file is downloaded, you shall extract it to the Apache document root location as follows.

linuxhelp:~ # unzip home.html?sFile=Quick.Cart_v6.7.zip -d /srv/www/htdocs/quickcart
Archive:  home.html?sFile=Quick.Cart_v6.7.zip
   creating: /srv/www/htdocs/core/
  inflating: /srv/www/htdocs/core/common-admin.js  
  inflating: /srv/www/htdocs/core/common-admin.php  
  inflating: /srv/www/htdocs/core/common.js  
  inflating: /srv/www/htdocs/core/common.php  
  inflating: /srv/www/htdocs/core/files-admin.php  
  inflating: /srv/www/htdocs/core/files.php  
  inflating: /srv/www/htdocs/core/lang-admin.php  
   creating: /srv/www/htdocs/core/libraries/
  inflating: /srv/www/htdocs/core/libraries/file-jobs.php  
.
.
.
.
inflating: /srv/www/htdocs/quickcart/templates/default/data-style.css  
  inflating: /srv/www/htdocs/quickcart/templates/default/_footer.php  
  inflating: /srv/www/htdocs/quickcart/templates/default/_header.php  
  inflating: /srv/www/htdocs/quickcart/.htaccess  
  inflating: /srv/www/htdocs/quickcart/admin.php  
  inflating: /srv/www/htdocs/quickcart/index.php  
  inflating: /srv/www/htdocs/quickcart/read-me.txt  

And then, move inside your Apache document root location.

linuxhelp:~ # cd /srv/www/htdocs/quickcart/
linuxhelp:/srv/www/htdocs/quickcart # ls -l
total 44
-rw-r--r-- 1 root root   16 Oct 11  2012 .htaccess
-rw-r--r-- 1 root root 6768 Sep  1  2014 admin.php
drwxr-xr-x 3 root root 4096 Mar 30  2016 core
drwxr-xr-x 6 root root 4096 Mar 30  2016 database
drwxr-xr-x 7 root root 4096 Mar 30  2016 files
-rw-r--r-- 1 root root 4837 Sep 15  2014 index.php
drwxr-xr-x 4 root root 4096 Mar 30  2016 plugins
-rw-r--r-- 1 root root 1318 Jul 29  2015 read-me.txt
drwxr-xr-x 4 root root 4096 Mar 30  2016 templates

Provide appropriate owner and file execution permissions by making use of the following commands.

linuxhelp:/srv/www/htdocs/quickcart # chown -R wwwrun:www /srv/www/htdocs/
linuxhelp:/srv/www/htdocs/quickcart # chmod -R 775 /srv/www/htdocs/

Once it is done, you need to configure your Apache VirtualHost for Quickcart. So open a new .conf file by making use of the following action.

linuxhelp:/srv/www/htdocs/quickcart # vim /etc/apache2/conf.d/quick.conf


Open you are in the .conf file, you need to add the following in it.

< VirtualHost *:80> 
DocumentRoot " /srv/www/htdocs" 
ServerName www.linuxhelp1.com
< Directory " /srv/www/htdocs/" > 
DirectoryIndex index.php
Options FollowSymLinks
AllowOverride All
Require all granted
< /Directory> 
< /VirtualHost> 

After the configuration, restart your Apache service.

linuxhelp:/srv/www/htdocs/quickcart # systemctl restart apache

We shall continue the installation process through the browser now, So open your browser and navigate to http://yourdomain/quickcart/admin.php

Once you are inside you can check all the information related to your orders such as pending orders, and also information regarding your shipping.

In the settings page, make sure you configure all the details.

And enable/disable all the necessary options from the panel available on the right side.

With this, the installation of Quickcart on OpenSUSE leap 42.3 comes to an end.

FAQ
Q
How to run SSL in the Quick.Cart?
A
Edit templates/products_default.tpl file.

In the section that starts with change the action in form tag, adding https://$_SERVER['SERVER_NAME']/





In order to activate a secure connection to the registration login to the admin panel.

In the root set up .htaccess file (if it's not exists) and open it with a text editor (like Notepad). Paste the following lines to the file:
RewriteEngine On
Q
What are the Most common problems after conversion.?
A
Error: "Notice: Undefined offset: 4 in \core\pages-admin.php on line 44" or "Notice: Undefined offset: 5 in \core\pages-admin.php on line 44" - it happens when a menu that existed in the older version does not exist in the new one. To solve this you can move pages from this non-existing menu to another one.
Q
How to edit the settings in Quickcart?
A
When conversion to the latest version is done, it's time to adjust Quick.Cart's settings.
Go to "Tools" -> "Settings" and set all of the fields: Page title, Description, Keywords, Logo, Slogan, Foot info, Login and Password.
Q
What about Moving PHP code modifications?
A
If modifications were made to PHP code of your website, you'll have to contact the programmer who made these modifications to make the same changes to your new script. Most of the free plugins are available for the latest version of the script, you can find them on the plugins » page.
Q
What version of php is compatible ?
A
PHP above 7 is recommended