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)

Customizations Using the Stylesheet


Pages in osCommerce obtain their style-related information from the associated stylesheet entitled stylesheet.css, found in the catalog folder. Using stylesheets gives you excellent, fine-grained control over the appearance of your web pages, and even allows you to produce some great effects. The appearance of pretty much every aspect of the site can be controlled from here, and all that is needed is a little knowledge of fonts, colors, and stylesheet syntax.

Before we go any further, it will make life easier if you have a readymade list of the type of things you should look at setting using the stylesheet. The following is a list of the most common areas (defined by HTML elements) where stylesheets can be used to determine the look and feel of a site:

  • Background

  • Text

  • Font

  • Border

  • Margin

  • Padding

  • List

As well as being able to change all these aspects of HTML, you can also apply different effects depending on ‘whether or not’ conditions like a mouse cursor hovering...