Scroll to navigation

Vend::Ship::Postal(3pm) User Contributed Perl Documentation Vend::Ship::Postal(3pm)

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).

2016-08-31 perl v5.22.2