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

37. Add an All Manufacturers Page to the Manufacturers Infobox


Many customers prefer to see the logos of all manufacturers instead of just seeing the manufacturers' name in a drop-down list. This module adds a new page that

showcases all logos in a neat infobox. The new page can be accessed by a link added at the bottom of the current Manufacturers box.

Presentation

Your screen will display all your manufacturers like this:

Let's see what's in Mother Hubard's Cupboards!

Ingredients

Note

New:

catalog/includes/modules/manufacturers.php

Modified:

catalog/includes/languages/english.php

catalog/includes/boxes/manufacturers.php

catalog/index.php

Cooking

  1. 1. Add the following define statement to catalog/includes/languages/english.php:

define('TEXT_BOX_ALL_MANUFACTURERS', 'All Manufacturers');
  • Note that the define statement for All Manufacturers already exists for index.php and advanced_search.php, but has to be declared in english.php so that all files can read it. The existing expressions...