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

60. Display a Dynamic Shipping Table for Table Rate Shipping


If your shop uses Table Rate shipping or even multiple table rates as suggested inChapter 7, your customers will love to see a structured display of those rates on the Shipping Information page as well as the Shopping Cart page. The following recipe pulls the cost data from your configuration table and displays it in a nicely formatted module you can include on any page as needed.

Presentation

The following screenshot shows the Shopping Cart page with the new Table Rate display added:

Note that if you have set a handling fee, that amount will automatically be added to the shipping cost and displayed as the total value for price transparency towards your customer.

If you are using multiple table rates combined with zones, similar to the first recipe in Chapter 7, you can safely clone this recipe, changing only a few parameter names. The zone name will then automatically be displayed below the table like in this screenshot:

If this...