Community Add-Ons

Maintainers: jbwallace
Add file to this package
Top » Shipping Modules

Canpar Shipping Module
for osCommerce Online Merchant v2.2

The module uses CanPar Ground - Single Package rate sheets and FSA zones as published
by CanPar available at www.canpar.ca on 2006.07.14. The FSA system utilizes the first 3 letters (the FSA portion) of the Canadian Postal Code for the 'Store' and the 'Customer' to determine the appropriate shipping rate table. It then uses the package weight to determine the shipping cost.

The FSA tables, Rate Sheets and Rate Tables are separate routines that can be updated when the FSA set used by Canada Post (i.e. more codes are added) or Rates change (will fuel prices come down?). Check regularly for updates.

The shipping module also employs a 'mark-up' that can be used to mark-up or discount the Table Rates. Use a decimal fraction (i.e. 0.8) for a discount of 20% or 1.1 for an increase of 10% on the published rates.

Legend:  Download   Report
Expand All / Collapse All
Canpar Shipping Update worker 19 Oct 2009  

Fixes shipping estimate return $0

Orig lines 57-58:
$srcFSA = substr(strtoupper(SHIPPING_ORIGIN_ZIP), 0, 3);
$desFSA = substr(strtoupper($order->delivery['postcode']), 0, 3);

Change to:
$srcFSA = substr(str_replace(" ", "", strtoupper(SHIPPING_ORIGIN_ZIP)), 0, 6);
$desFSA = substr(str_replace(" ", "", strtoupper($order->delivery['postcode'])), 0, 6);

Patch for Connect Method cookie_guy 13 Nov 2007  
XML Integration cykron 25 Aug 2006  
Canpar Shipping Module jbwallace 31 Jul 2006  
Canpar Shipping Module jbwallace 19 Jul 2006