Book Image

Deep Inside osCommerce: The Cookbook

By : Monika Mathe
Book Image

Deep Inside osCommerce: The Cookbook

By: Monika Mathe

Overview of this book

osCommerce has been around since March 2000. At present there are over 10,000 live, registered osCommerce sites, and about 100,000 registered community members. Apart from providing ready-made solutions to problems, as well as a huge repository of information, the osCommerce community is a living entity with which we can all interact. With the rising success and popularity of this remarkable piece of software, things can only get better.
Table of Contents (17 chapters)
Deep Inside osCommerce: The Cookbook
Credits
Foreword
About the Author
About the Reviewers
Introduction

35. Add Help Text to Your Search-Box Input Field


If your shop maintains a flat categories tree, and doesn't have more than one subcategory level, you can fit a search box into the top navigation bar (even for a screen resolution of 800x600 pixels). This recipe will show you how to move your search box to be visible at first glance, and how to modify code for better search results. Currently, the search box can really be described as hiding near the bottom of the left column; hard to find if you have a few categories, and are displaying new products and the manufacturer box. Additionally, for customers preferring to use an advanced search function, you can add an easy-to-spot link within the Categories infobox.

Presentation

This is how your website will look with search added to the navigation bar:

Ready to whet their appetite?

Ingredients

Note

Modified:

catalog/includes/languages/english.php

catalog/includes/header.php

catalog/includes/boxes/categories.php

catalog/includes/column_left...