You are previewing Deep Inside osCommerce: The Cookbook: Spice up your osCommerce website using 69 mouth-watering, ready-made recipes.
O'Reilly logo
Deep Inside osCommerce: The Cookbook: Spice up your osCommerce website using 69 mouth-watering, ready-made recipes

Book Description

In this unique book, osCommerce expert "Monika in Germany" lets you in on her secrets on how to hack your way to that perfect osCommerce site. This cookbook provides you with ready-made solutions for customizing your osCommerce installation and seasoning it with exciting new features. With a total of 69 recipes, this book helps you improve all important areas of your default installation.

Written by an acknowledged osCommerce expert, the book not only gives you ready made solutions that you can easily incorporate into your system, but it also explains to you how these solutions work and shows you in detail how to implement them. This also helps you learn about the underlying API and later create your own variations to suit your very own taste.

The focus of this book is not to teach osCommerce, but to give solutions to specific problems. For learning osCommerce, we suggest that you either read Building Online Stores with osCommerce: Professional Edition or Building Online Stores with osCommerce: Beginner Edition. This cookbook, however, can be a great companion for any of these books.

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.

The book has 11 chapters, each dealing with a different aspect of osCommerce.
Chapter 1 equips you with a few very easy and very important changes to the basic design which will make developing and later modifying a whole new template a breeze.
Chapter 2 will help you modify your navigation to ensure a smoother shopping experience for your customers.
Chapter 3 covers infoboxes and turns you into an expert in tweaking them to your needs.
Chapter 4 deals with one of the most important visual parts of your shop, the product display in the listings and the detail page.
Chapter 5 outlines different methods to make searching on your site a fun experience. You want your customers to use your search and to find the products you want to sell to them.
Chapter 6 highlights customizations of the checkout process, namely the flow from the shopping cart to the shipping and payment pages up to the order email.
Chapter 7 talks about new shipping modules. You will learn how to adapt existing modules to create completely new rate systems for your shop.
Chapter 8 focuses on existing payment modules and how they can be tweaked.
Chapter 9 provides tips on efficiently using banners as a marketing tool.
Chapter 10 is a goodie bag of extra special treats to indulge your sweet tooth.
Chapter 11 tackles changes in the admin area. You alone will be the keeper of these secret recipes hidden to the public eye.

This book is aimed at people with existing online stores, built using osCommerce. The book follows a systematic approach whereby users can modify and extend features on their already existing osCommerce site. Each chapter deals with a different aspect , and provides ready-made recipes for modifying code to your requirements. The author starts by explaining basic changes one can make to the design of your store, and then covers features like navigation, images, shipping and payment modules, and even explains how to make changes on the administrator's side and keeping your own recipes private.

Table of Contents

  1. Deep Inside osCommerce: The Cookbook
  2. Credits
  3. Foreword
  4. About the Author
  5. About the Reviewers
  6. Introduction
    1. What This Book Covers
    2. What You Need for This Book
    3. How to Use This Book
    4. Conventions
    5. Reader Feedback
    6. Customer Support
      1. Downloading the Example Code for the Book
      2. Errata
      3. Questions
  7. 1. Chop and Cream the Basic Design
    1. 1. Add Easy Top-Category Driven Stylesheets
      1. Presentation
      2. Ingredients
      3. Cooking
    2. 2. Create Flexible Column Definitions
      1. Presentation
      2. Ingredients
      3. Cooking
    3. Summary
  8. 2. Serve them New Menus
    1. 3. Show Active Subcategories only in Your Category Box
      1. Presentation
      2. Ingredients
      3. Cooking
    2. 4. Create Separate Boxes for Each Top Category
      1. Presentation
      2. Ingredients
      3. Cooking
    3. 5. Simplify Category Box Navigation by Defining Specific Colors for Each Level
      1. Presentation
      2. Ingredients
      3. Cooking
    4. 6. Add Extra Links to Your Category Box
      1. Presentation
      2. Ingredients
      3. Cooking
    5. Summary
  9. 3. Spice Up Your Infoboxes
    1. 7. Move Your Infobox Header closer to Content
      1. Presentation
      2. Ingredients
      3. Cooking
    2. 8. Make Your Infobox Header Taller
      1. Presentation
      2. Ingredients
      3. Cooking
    3. 9. Add a Pop-Up Page from an Infobox Link
      1. Presentation
      2. Ingredients
      3. Cooking
    4. 10. Add Images to Infoboxes
      1. Presentation
      2. Ingredients
      3. Cooking
      4. Variation #1
      5. Ingredients
      6. Cooking
      7. Variation #2
      8. Ingredients
      9. Cooking
    5. 11. Add Extra Images to Your Columns without Framing Boxes
      1. Presentation
      2. Ingredients
      3. Cooking
    6. 12. Hide or Show Boxes Driven by Language Choice
      1. Presentation
      2. Ingredients
      3. Cooking
    7. 13. Add Boxes Dedicated to Specified Countries
      1. Presentation
      2. Ingredients
      3. Cooking
    8. 14. Define Box-Image Size Independent of Product Thumbs
      1. Presentation
      2. Ingredients
      3. Cooking
    9. 15. Show Manufacturers' Logos in the Manufacturers Infobox
      1. Presentation
      2. Ingredients
      3. Cooking
    10. 16. Add Double Borders to Boxes with Background Matting
      1. Presentation
      2. Ingredients
      3. Cooking
    11. Summary
  10. 4. Stuff Your Product Display
    1. 17. Add Parent Category in Product Listing
      1. Presentation
      2. Ingredients
      3. Cooking
      4. Variation
    2. 18. Add Top Category in Product Listing
      1. Presentation
      2. Ingredients
      3. Cooking
    3. 19. Add a Separator Line in Product Listing
      1. Presentation
      2. Ingredients
      3. Cooking
    4. 20. Add a Cell Background and an Image Border to Product Listing
      1. Presentation
      2. Ingredients
      3. Cooking
    5. 21. Sort Product Listing by Date Added
      1. Presentation
      2. Ingredients
      3. Cooking
    6. 22. Prepare a Quick 'n Easy Review System for Product Listing
      1. Presentation
      2. Ingredients
      3. Cooking
    7. 23. Whip Up a Top-Category Driven Product Listing
      1. Presentation
      2. Ingredients
      3. Cooking
    8. 24. Control Manufacturer Image Size
      1. Presentation
      2. Ingredients
      3. Cooking
    9. 25. Call a Pop Up from Product Description in Product Info
      1. Presentation
      2. Ingredients
      3. Cooking
    10. 26. Call Unique Code for a Single Product in Product Info
      1. Presentation
      2. Ingredients
      3. Cooking
    11. 27. Show a Pop Up with Shipping Options in Product Info
      1. Presentation
      2. Ingredients
      3. Cooking
    12. 28. Add an Anchor for Options in Product Info
      1. Presentation
      2. Ingredients
      3. Cooking
    13. 29. Integrate Tell a Friend into Product Info
      1. Presentation
      2. Variation #1
      3. Ingredients
      4. Cooking
      5. Variation #2
      6. Ingredients
      7. Cooking
    14. 30. Offer an Ask a Question about a Product Link on Product Info
      1. Presentation
      2. Variation #1
      3. Ingredients
      4. Cooking
      5. Variation #2
      6. Ingredients
      7. Cooking
    15. 31. Sell Affiliate Products from Your Catalog
      1. Presentation
      2. Ingredients
      3. Cooking
    16. 32. Fill Up Also Purchased Products Search Result
      1. Presentation
      2. Ingredients
      3. Cooking
    17. 33. Limit New Products to Those with an Image
      1. Presentation
      2. Ingredients
      3. Cooking
    18. 34. Set Column Count for New Products
      1. Presentation
      2. Ingredients
      3. Cooking
    19. Summary
  11. 5. Dish Up a Better Search
    1. 35. Add Help Text to Your Search-Box Input Field
      1. Presentation
      2. Ingredients
      3. Cooking
    2. 36. Set the Search-Result Value Independent of Admin Listings
      1. Presentation
      2. Ingredients
      3. Cooking
    3. 37. Add an All Manufacturers Page to the Manufacturers Infobox
      1. Presentation
      2. Ingredients
      3. Cooking
    4. 38. Customize Your Product Listing with Individual Boxes for Each Manufacturer
      1. Presentation
      2. Ingredients
      3. Cooking
    5. Summary
  12. 6. Grill that Checkout Process
    1. 39. Make Removing Products from the Cart more Intuitive
      1. Presentation
      2. Ingredients
      3. Cooking
    2. 40. Remove Delivery Address Modification from Your Shipping Page
      1. Presentation
      2. Ingredients
      3. Cooking
    3. 41. Modify Shipping Method Display for the Confirmation Page
      1. Presentation
      2. Ingredients
      3. Cooking
    4. 42. Add a Sophisticated Gift Wrapping Option to the Shipping Page
      1. Presentation
      2. Ingredients
      3. Cooking
    5. 43. Add the Option to Donate during Checkout
      1. Presentation
      2. Ingredients
      3. Cooking
    6. 44. Personalize Your Order Confirmation Email
      1. Presentation
      2. Ingredients
      3. Cooking
    7. 45. Add Your Customers' Email Addresses and Phone Numbers to Your Order Confirmation Email
      1. Presentation
      2. Ingredients
      3. Cooking
    8. 46. Add Your Customers' Fax Numbers to Your Order Confirmation Email
      1. Presentation
      2. Ingredients
      3. Cooking
    9. 47. Add the Products' Manufacturers to Your Order Confirmation Email
      1. Presentation
      2. Ingredients
      3. Cooking
    10. 48. Add the Products' Category Tree to Your Order Confirmation Email
      1. Presentation
      2. Ingredients
      3. Cooking
    11. Summary
  13. 7. Whip Up New Shipping Options
    1. 49. Add Multiple Flat Rate Shipping Modules
      1. Presentation
      2. Ingredients
      3. Cooking
    2. 50. Add Percentage and Base Price Support to Table Rate
      1. Presentation
      2. Ingredients
      3. Cooking
    3. 51. Allow Free Postage for Free Items
      1. Presentation
      2. Ingredients
      3. Cooking
    4. 52. Limit Flat Rate Shipping to a Specific Top Category Only
      1. Presentation
      2. Ingredients
      3. Cooking
    5. 53. Hide Shipping Modules Driven by Weight
      1. Presentation
      2. Ingredients
      3. Cooking
    6. 54. Create a Per Item Shipping Module with Two Price Levels
      1. Presentation
      2. Ingredients
      3. Cooking
    7. Summary
  14. 8. Season Your Payment Modules
    1. 55. Hide Payment Modules from Public Eyes
      1. Presentation
      2. Ingredients
      3. Cooking
    2. 56. Create Dependencies between Shipping and Payment Modules
      1. Presentation
      2. Ingredients
      3. Cooking
    3. 57. Offer Customized Payment Options for Selected Customers
      1. Presentation
      2. Ingredients
      3. Cooking
    4. Summary
  15. 9. Cook Up a Multiple Banner System
    1. 58. Set Up Category-Driven Banners
      1. Presentation
      2. Ingredients
      3. Cooking
    2. 59. Create Rotating Banners that Link within Your Own Shop
      1. Presentation
      2. Ingredients
      3. Cooking
    3. Summary
  16. 10. Throw Together Dessert Extra Treats for You!
    1. 60. Display a Dynamic Shipping Table for Table Rate Shipping
      1. Presentation
      2. Ingredients
      3. Cooking
    2. 61. Restructure and Customize Your File Download Module
      1. Presentation
      2. Ingredients
      3. Cooking
    3. 62. Create a Dual Website Combining Shopping Cart and Showroom Features
      1. Presentation
      2. Ingredients
      3. Cooking
    4. Summary
  17. 11. Beef Up Your Admin
    1. 63. Reset Date Added for Products
      1. Presentation
      2. Ingredients
      3. Cooking
    2. 64. Set an Expiry Date for Products
      1. Presentation
      2. Ingredients
      3. Cooking
    3. 65. Limit Also Purchased Products Selection by Date
      1. Presentation
      2. Ingredients
      3. Cooking
    4. 66. Display Full Information for Customer, Delivery, and Billing Addresses at a Glance
      1. Presentation
      2. Ingredients
      3. Cooking
    5. 67. Highlight Orders According to their Order Status
      1. Presentation
      2. Ingredients
      3. Cooking
    6. 68. Sort Your Administration Menu Configuration-Box Entries
      1. Presentation
      2. Ingredients
      3. Cooking
    7. 69. Allow Entering Products in an Additional Currency
      1. Presentation
      2. Ingredients
      3. Cooking
    8. Summary