Vend::Ship::Postal.3pm

Langue: en

Version: 2007-08-09 (ubuntu - 08/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Vend::Ship::Postal -- Calculate US Postal service international rates

SYNOPSIS

  (in catalog.cfg)
 
     Database   usps             ship/usps.txt              TAB
     Database   air_pp           ship/air_pp.txt            TAB
     Database   surf_pp          ship/surf_pp.txt           TAB
 
  (in shipping.asc)
 
     air_pp: US Postal Air Parcel
         crit            weight
         min             0
         max             0
         cost            e No shipping needed!
         at_least        4
         adder           1
         aggregate       70
         table           air_pp
 
         min             0
         max             1000
         cost            s Postal
 
         min             70
         max             9999999
         cost            e Too heavy for Air Parcel
 
     surf_pp:    US Postal Surface Parcel
         crit            weight
         min             0
         max             0
         cost            e No shipping needed!
         at_least        4
         adder           1
         aggregate       70
         table           surf_pp
 
         min             0
         max             1000
         cost            s Postal
 
         min             70
         max             9999999
         cost            e Too heavy for Postal Parcel
 
 

DESCRIPTION

Looks up a service zone by country in the "usps" table, then looks in the appropriate rate table for a price by that zone.

Can aggregate shipments greater than 70 pounds by assuming you will ship multiple 70-pound packages (plus one package with the remainder).