Book Image

Building Online Stores with osCommerce: Beginner Edition

By : David Mercer
Book Image

Building Online Stores with osCommerce: Beginner Edition

By: David Mercer

Overview of this book

Using an easy-to-read and engaging style, this book introduces the fundamentals of osCommerce, and helps you build your first online store. It covers the out-of-the-box features of osCommerce, but it also shows you how to customize the application to your own needs. The book starts with the basics of downloading and installing osCommerce, or simply how to enable it on your Internet domain using the tools provided by your host. All of the most important configuration issues are explained, with clear instructions and advice to help you make the right choices. Once osCommerce is installed and configured, you will take a good look at how to work with your store's data including product information as well as other data which is responsible for keeping your site healthy. The all important topic of customization is also dealt with comprehensively. You will see how to develop attractive sites that will make your store a pleasure to browse and your products a pleasure to buy! Of course, no discussion on osCommerce would be complete without a look at how to obtain and treat payments. Using the modules provided with osCommerce you will be collecting money from your happy customers in no time! Once the reader has a fully fledged, and operational site it is time to look at deployment? an important topic for discussion if development has taken place on a development machine. The appendix will add a few tools to your armory and shed some light as to what is going on behind the scenes in case things go awry.
Table of Contents (13 chapters)

Make Sure the Host is Ready


Now, once you have uploaded your osCommerce files, you need to create a database and give an administrator access via a password. There are a number of ways this can be done in, so I will demonstrate on the demo site’s hosting package one of the ways for creating a database for our store. Hopefully the process you follow will be quite similar. If you get stuck, get help from your host’s support team; that’s what they are there for.

The demo site has an interface for MySQL database creation, like this (you might find that your host provides something quite similar):

Entering a database name and clicking Add Db brings up a confirmation page. Now we have a database to work with, so we’re getting somewhere. Of course, we need to specify a user for this database. The following user is created and then added to the commercedb database:

For the purposes of installing the database, we will use the oscdb user that we added to the newly create database. You’re free to choose...