Shipping Module IntroductionLast Update: 10th June, 2005
Article ID: 226



Introduction

Shipping Modules give the store owner a way to change which shipping options are available to the customer at checkout time. During the checkout process, these modules are called to calculate the final shipping and packaging costs for the order. The price can be affected by how many products have been ordered, how much they weigh, as well as any other configuration settings set either in the shipping module itself or in the administrative tool settings.

In addition to the default modules that come with osCommerce, there are many additions available in the community contributions for other shippers as well as other packaging scenarios.


Administrative Tool Settings

There are several configuration settings that can affect the shipping calculation. These settings are described in the Shipping/Packaging article.

Figure 1 shows the Shipping Modules listing page under the Admin>Modules>Shipping section.


Figure 1. Shipping Modules listing page under the Admin>Modules>Shipping section.


To install a shipping module click on the play icon in the Action column and to change the details click the "wrench graphic tool" under the "Action" column next to the "Title" being edited.


Default Modules


Default Setup

The shipping modules come with six modules built into the code, although only the Flat Rate module is installed initially. Installing a module can be done by clicking on the play icon in the Action column, and editing can be done by clicking on the wrench icon. A module can only have its settings edited after it has been installed.

If other shipping modules are placed in the code from the community contributions site, they will need to be installed in the same manner as the ones listed above before use.


Sort Order (Display Order)

The sort order field associated with each module describes in what order the modules will be presented to the customer during checkout. The modules will always be displayed in alphabetical order in the Administrative tool, regardless of the Sort Order field. Changing the Sort Order can be done by editing the settings for that particular module, but cannot be done at the main shipping modules screen. The sorting is done with the lowest number representing the top of the displayed list, except for modules with a value of 0, which are put at the bottom. Ties are sorted alphabetically.


Status Checkbox

Once a shipping module has been installed, whether or not it is displayed to the customer depends on the value from the checkbox. This box is changed by editing the module settings. Checking the box allows the customer to use that option for shipping, while unchecking the box removes it from the customer view. This is different from removing the module altogether with the stop icon, as it preserves the module settings, in case it is later re-enabled. A module cannot be made active until it has been installed.


Terms

 

 

Trademark Policy | Copyright Policy | Sitemap

Copyright © 2000-2005 osCommerce. All rights reserved.