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

15. Show Manufacturers' Logos in the Manufacturers Infobox


A great recipe if your list of manufacturers is not too long and you have collected logos for all of them. Logos are highly recognizable for customers and will provide ease in navigation for a great shopping experience.

Presentation

Your Manufacturers box will look like the one in the following screenshot:

Roll up your sleeves, and let's get down to business!

Ingredients

Note

Modified:

catalog/includes/boxes/manufacturers.php

Cooking

  1. 1. Make sure that your manufacturers' logos fit in the width of your box without being stretched. You can paste them on transparent gifs, centered, so all will look uniform.

  2. 2. Open catalog/includes/boxes/manufacturers.php and replace the code with the following new box code. Instead of just displaying the manufacturers' names and a link to their products, the logo pulled from the query is used to create the link.

<?php
/*
$Id: manufacturers.php,v 1.00 2006/06/12 00:00:00 mm Exp $
osCommerce, Open...