Setting Up An osCommerce Website For e-Commerce Solutions

osCommerce is probably one of the most popular free programs out there you can use to create an e-commerce website where you can create an online catalog (store with products), accept credit card orders, and create users accounts.

This tutorial will show you how to install and set up a pre-designed osCommerce ready template to your eVentureBiz web hosting account.

This example will show how we set up the e-commerce website jenenichelle.com.


Step 1 - Find A Template

Unless you code in the programming language php, you will want to find a pre-designed osCommerce template for your website.

Try going to a site like TemplateMonster and look under the E-commerce Templates and locate the templates designed for osCommerce. Browse until you find one you like and purchase it (unless it's free) and download it to your computer.


Step 2 - Unzip Your File & Upload

Unzip

unzip template

Upload via FTP

After you unzip your file, there should be a folder containing all your .php files. Those are your osCommerce website files. In this case, the files (and folders) are located in the osc directory. A few of those files should look like the following and have these names:

unzipped template

Upload all the files and folders located in the osc directory to the directory you want your web store to be on your web hosting account. Therefore, if your website itself is the e-commerce site, upload all these files and folders into your root directory. If your web store is only part of your website, you can upload them to a subdirectory, like: jenenichelle.com/catalog.

ftp osCommerce


Step 3 - Change File Permissions

In order for the installation process to work, you will need to change the permissions of two files so they are writable. If you're not sure what that means, just do the following ;)

Log into your control panel and click on File Manager.

file manager

Locate the site where your files are located. In this case we are using jenenichelle.com.

jenenichelle tutorial

Locate the includes folder and click to open it.

includes

Locate the configure.php file and click the little box to the side to check it. Note sometimes this file may be called config.php.

includes

Scroll back up to the top and locate the "Permissions" box in your folder navigational menu. Click the drop down box and change the permissions to 777.

changing file permissions

At this point, go back up one directory and navigate to your admin/includes/ directory and repeat this process to change the permissions for the configure.php file there to 777.


Step 4 - Set Up A Database

You will need to set up a MySQL database where you can store information such as client passwords, settings, reviews, etc. To set up a database, do the following:

Locate the MySQL Databases icon in your web hosting control panel and click it.

Then give your database a name and create the database.

Jot down the following for later reference:

  • Database name
  • Username (same as database name for eVentureBiz hosting accounts
  • Database password
  • Database server (you will see that just below your database name after it's been created)


Step 5 - Install osCommerce Software

Now you should have your osCommerce-ready website template uploaded, your file permissions changed, and your database set to go. Now it's time to install osCommerce.

Every eVentureBiz web hosting account comes with easy 1-click installs of osCommerce in the elefante scripts. However, for this tutorial, we will install osCommerce using the install script provided with the template you purchased.

Open your Web Browser and type in the web address to your install.php file. The address should be something like http://www.my-site.com/install or http://www.my-site.com/install/install.php

At this point osCommerce should now install itself on your website. We've included some pictures you can follow to see what the installation process is like. The images may change a little as osCommerce release newer versions of its software over time.

osCommerce install

osCommerce install

osCommerce install

osCommerce install

osCommerce install

In your Administration area, use the menu on the left to set everything up and edit your template.

osCommerce install

Step 6 - Change Your Permissions Back & Delete Install File

This part is very important.

Go back to Step 3 and reset your Permissions from 777 back to 644 for your configure.php files.

reset permissions

Following that, go back to the main directory that houses all your web store files and delete the install folder.

delete install folder

Congratulations, you have set up your very own e-commerce store using osCommerce. From this point you manage and edit your website through your Administration Tool.

If you choose to use a 3rd party such as PayPal or 2checkout.com to process your credit card orders, it is not necessary to encrypt data entered on your website using SSL encryption. However, sometimes web store owners like to make their customers feel a little easier entering in their sign-up information through your website (i.e. name, address, phone, etc.) when they see you have set up an SSL Certificate for your site.

You will recognize which sites are encrypted if you see a little pad lock in your web browser's address bar or status bar.

ssl

To learn how to set up an SSL Certificate for osCommerce encryption, check out their article How to install SSL on osCommerce.

We hope you found this tutorial useful,
eVentureBiz Team

<< Back To Tutorials List