australiapost.inc

Version

1.1.2.11 (checked in on 2008/01/17 at 15:16:40 by sime)

Description

Functions to communicate with shipping module api functions

Provides integration with Australia Posts Online Postage calculator. Requires the ecommerce suite of modules and shpping.module installed.

this works with drupal 4.7

NOTES;

Upload australiapost.inc file into your modules/ecommerce/shipping/apis folder.

Adjust countries and shipping charges per zone at admin -> store -> settings -> shipping -> international

Make this shipping method available to products by configuring at admin -> settings -> content types

Once enabled for content types (products) a new form will appear when editing products that allows you to include this shipping method.

@todo ensure that the weight is in kilograms @todo ensure that the lenghts is in centimeters

Constants

Namesort iconDescription
AUSTRALIAPOST_MAX_CMS
AUSTRALIAPOST_MAX_KGS
AUSTRALIAPOST_MIN_GIRTH_CMS
AUSTRALIAPOST_URL

Functions

Namesort iconDescription
australiapost_get_ratesshipping_api _get_rates_form hook.
australiapost_product_attributesshipping_api _product_attributes hook.
australiapost_settings_formShipping _settings_form hook.
australiapost_settings_form_submitshipping_api _settings_form_submit hook.
australiapost_shipping_methods_shipping_methods hook.
_australiapost_close_boxHelper function for australiapost_get_rates()