Connect Magento E-Commerce to openQRM Cloud

From openQRM

This How-To explains how to easily connect Magento E-commerce to openQRM-Cloud.

Install Magento on the openQRM Server

Login to a root console on to the openQRM server.

Change to the Apache Webserver document-root directory (on Debian/Ubuntu /var/www/, on RedHat/CentOS /var/http/html)

Download Magento 1.9.2.4 (latest stable 1.9 branch)

Magento download page

Unpack the downloaded Magento zip-file.

Login to the MySQL Database used by openQRM (and later Magento) and create a "magento" database.

Please see the commands below:

cd /var/www/
unzip magento-1.9.2.4-2016-02-23-06-03-22.zip
cd magento
chmod 777 app/etc
chmod -R 777 media
mysql -popenqrm
mysql> create database magento;
mysql> exit
Enter the commands in database terminal

Open a web browser and start the Magento configuration at

http://your-openQRM-server-ip-address/magento/

Start Magento configuration

Configure Magento Localization

Configure Magento Localisation

Configure the Magento database

Configure Database

Setup the Magento Admin account

Setup Admin Account

Finalized Magento installation and setup

Magneto installation and setup

Login to the Magento Backend as "admin"

Login to Backend

Click on "Manage Products" in the "Catalog" menu

Navigate to the Catalog menu

Add a new product

Add new product

Choose "Simple Product"

Choose 'Simple Product'

Name the product "1 Cloud Computing Unit"

'1 Cloud Computing Unit'

Further down add additional parameters for the product and make use its status is set to "enabled"

Add additional parameters

In the "Inventory" menu make sure to set a "Qty" (Quantity)

Set a Quantity

Further down in the "Inventory" section please make sure to set the "Stock availability" to "In Stock"

Set to 'In Stock'

In the "Categories" section please enable the product for the "Default Category". Further configure the product to your needs and save.

Enable 'Default Category'

Go to the openQRM Servers Plugin Manager and install the "magento" plugin

Install the Magento plugin

Start the "magento" plugin

Start the Magento Plugin

Go to "Plugins -> Cloud -> Magento -> Connect". This starts the auto-configuration for the connection.

Start Auto-Configuration

Now click on "Connect". That's it!

The Magento E-commerce is now connected to the openQRM Cloud. User and Orders from Magento will be automatically synced now into the openQRM Cloud.

Testing

Go to the Magento Shop front-end and register as new user. Then add the previously created Cloud Computing Unit to the cart.

Add new product

... and proceed to checkout.

Checkout

... and place the order.

Place Order

In the openQRM Cloud User Management the order is now synced and Cloud User is created/updated with Cloud Computing Units.

Cloud User is created/updated

An email has also been sent to the new User with the openQRM Cloud portal credentials.

Email with credentials

Congratulations!

You have successfully synced Magento E-Commerce with openQRM!

We hope you have enjoyed it!