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

49. Add Multiple Flat Rate Shipping Modules


This recipe outlines how to clone the Flat Rate shipping module for use in several zones and with different rates. While the Zone Rates shipping module seems to be a valid alternative for such a scenario, allowing you to set up shipping tables for several different zones, this new set of modules gives you the option to change the business logic for each zone separately. In a separate recipe, you will learn a method to offer free shipping for a catalog, but not for other products; if free shipping is to be valid for one zone only, it would require hard-coding the zone-based shipping module resulting in less freedom for modifications.

Presentation

Your screen in Administration | Modules | Shipping will look like this when you have set up three new modules for zone-based Flat Rate shipping, specifying zones for USA, Canada, and the Rest of the World:

Let's put together a versatile Béchamel!

Ingredients

Note

New:

catalog/includes/modules/shipping/flat1...