To setup, create a flat rate shipping method with the name “FF Australia Post”
Do not set any cost, the cost and label will be dynamically updated from the API.
Additional Settings at 5×5 Tools > Australia Post
shipping method will only show if there is a product added to cart that has the selected classes. Leave empty to enable for all.
selected methods will be hidden/disabled if AU Post method is present
change shipping method label
add_filter( 'ff_au_post_shipping_label', function($label){
return $label;
});
used to get data from Australia Post API. Defaults to the Woocommerce setting shop address
add_filter( 'ff_au_post_postcode_from', function($postcode){
return $postcode;
});
Currently, the API seems to accept any api key, so this doesn’t really matter, but this might change in the future.
add_filter( 'ff_au_post_api_key', function($api_key){
return $api_key;
});
Select your desired option below to share a direct link to this page.
Your friends or family will thank you later.