The modern day entrepreneur, or indeed a business of any kind, small or large, can scarcely do without some form of presence on the Web. The pervasiveness of the Internet has brought about a new reality for business people. No longer is it sufficient to set up shop somewhere and sit quietly waiting for customers. Instead, the initiative must be taken with goods and services being marketed and sold online, reaching hitherto unheard of sizes of consumer markets, nationally and internationally.
With the added burden of the acquisition of IT skills, many small to medium-size enterprises have found themselves being outstripped by their larger cousins, who have the resources and manpower to harness and utilize the Internet properly. Prohibitively expensive development costs or ill-fitting off-the-shelf applications have hampered SME’s ability to compete on an even footing. Up until now that is!
With the advent of osCommerce and other open-source technologies like it, the door has been opened for anyone with a bit of determination to set up a sophisticated online store that will hold its own against any other site out there. It’s not surprising that osCommerce is growing in popularity as more and more people switch to the advantages of building and running their very own e-commerce website.
Unfortunately, while running and administering your own site is now within your grasp, you will find that you still have to work at it. There is a lot of information you need to learn about installing, configuring, customizing, securing and running osCommerce, and indeed the technologies you will be basing your business on. You can also benefit from some general wisdom and knowledge that programmers apply to their everyday work. Providing you with this knowledge is why I have written this book!
Chapter 1 introduces us to e-commerce and osCommerce and then provides an overview of the osCommerce community. Knowing how to use this excellent resource ensures you take full advantage of the entire osCommerce package, and not just the free software.
Chapter 2 covers setup and installation topics, which includes a discussion on what you should look for in an Internet servcice provider and how to make use of FTP to upload files, amongst other things. A troubleshooting section is also included and once this chapter is finished you should have a working osCommerce site up and running.
Chapter 3 deals with the most common configuration settings that you will need to familiarize yourself with and provides a basic grounding in the use of the administration tool.
Chapter 4 gets right to the heart of the matter with an in-depth look at data in osCommerce. Here you will learn not only how to add and remove products and manufacturers as well as administer orders and customers, but also how to properly design your category/product hierarchy.
Chapter 5 is where the standard look and feel of osCommerce gets a face-lift. After reading this, you will have a sound knowledge of the presentation related features of osCommerce. Additionally, we will discuss the all important topics of stylesheet modification, images, and language and show how to deal with them effectively. Get ready to get your hands dirty as there is plenty of work in here.
Chapter 6 takes you one step closer to running an online business by comprehensively dealing with taxes, payments, and shipping. Strategies for implementing various policies pertaining to money matters are also scrutinized and by the end of this chapter, you will be well versed in your site’s money matters.
Chapter 7 is arguably the most important of all. The integrity of your e-commerce site (and for many of you, your livelihood) rests on how well you can implement security and disaster recovery policies. Follow along here to learn how to gain a peaceful night’s sleep, safe in the knowledge that your precious business is safe. It also introduces you to some important tools, which will no doubt make your life a lot easier in the time to come. As well as this, it takes a more lighthearted look at some neat tricks and how to make a few nice touch additions.
Appendix A provides you with a look at various methods, which can be used to effectively deal with problems and errors. Having a programmer’s perspective and embracing a sound methodology will save you countless hours and frustration and is applicable to a wide range of software, not just osCommerce.
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
There are three styles for code. Code words in text are shown as follows: "We can include other contexts through the use of the include
directive."
A block of code will be set as follows:
if (substr(basename($PHP_SELF), 0, 8) != ‘checkout’) {
include(DIR_WS_BOXES . ‘languages.php’);
include(DIR_WS_BOXES . ‘currencies.php’);
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be made bold:
[if (substr(basename($PHP_SELF), 0, 8) != ‘checkout’) { // include(DIR_WS_BOXES . ‘languages.php’); include(DIR_WS_BOXES . ‘currencies.php’); }
Any command-line input and output is written as follows:
mysql> insert into user values (
-> ‘localhost’,
-> ‘oscommerce’,
-> Password(‘password’),
-> ‘Y’,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’,
-> ‘N’,’N’, ‘N’,’N’, ‘N’,’N’, ‘N’,’N’, ‘N’,’N’, ‘N’,
-> ‘N’,’N’, ‘N’,’N’, ‘N’,’N’, ‘N’,’N’, ‘N’,’N’);
New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this: "clicking the Next button moves you to the next screen".
Note
Tips, suggestions, or important notes appear in a box like this..
Feedback from our readers is always welcome. Let us know what you think about this book, what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.
To send us general feedback, simply drop an email to< [email protected]>
, making sure to mention the book title in the subject of your message.
If there is a book that you need and would like to see us publish, please send us a note in the SUGGEST A TITLE form on http://www.packtpub.com or email< [email protected]>
.
If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
Although we have taken every care to ensure the accuracy of our contents, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in text or code—we would be grateful if you would report this to us. By doing this you can save other readers from frustration, and help to improve subsequent versions of this book. If you find any errata, report them by visiting http://www.packtpub.com/support, selecting your book, clicking on the Submit Errata link, and entering the details of your errata. Once your errata have been verified, your submission will be accepted and the errata added to the list of existing errata. The existing errata can be viewed by selecting your title from http://www.packtpub.com/support.
You can contact us at< [email protected]>
if you are having a problem with some aspect of the book, and we will do our best to address it.