Requirements
↑ Back to top- Your store must use Australian Dollars (AUD) as its currency
- Base location of your store is Australia
Installation
↑ Back to top- Download the .zip file from your WooCommerce account.
- Go to: WordPress Admin > Plugins > Add New to upload the file you downloaded with Choose File.
- Activate the extension.
API Key and Debug
↑ Back to top- API Key – Get this from Australia Post or leave blank to use our API Key.
- Debug Mode – Enable/disable debug mode to show debugging information on your cart/checkout.
Setup and Configuration
↑ Back to top- Go to: WooCommerce > Settings > Shipping.
- Select the Shipping Zone you want to add the method to, and Add shipping method + button on the right.
- Select Australia Post from the dropdown and click Add shipping method:
- Select the shipping method you wish to configure.
- Configure the settings:
- Method Title – Name the shipping method. This is visible to customers.
- Origin Postcode – Should be set to the postcode from where you ship, and is sent to the Australia Post API.
- Method Availability – Allows you to narrow down the countries that get quotes. Leave set to All Countries to make available to all customers.
- Rates and Service Settings – Control the services and rates you offer customers.
- Parcel Packing Method – See below.
- Offer Rates – Choose to return all rates (user will get the choice) or the cheapest rate.
- Services – Here you can enable/disable, re-order, rename and configure Australia Post shipping rates.
- Save.
Parcel Packing Methods
↑ Back to topPack items individually (Default)
↑ Back to topWeight of all items
↑ Back to topPack into boxes with weights and dimension (Recommended)
↑ Back to topBox-Packing
↑ Back to topThe box packer is volume based. This will in most cases provide good results, but will never be as accurate as a real person packing a box (see BIN Packing Problem). Therefore it is important you understand that packing results are as accurate as they can be and any anomalies should be accepted.
Setting up box sizes
↑ Back to top
How the calculation works
↑ Back to top- Finds boxes which fit the items being packed (uses H x W x D).
- Packs all fitting items into boxes (using volume).
- The largest box which fits 100% of items is used *or* use the highest % packed box, and then pass unpacked items back (and repeat the process)
- Unpackable items are packed alone, using the item dimensions.
- All packed boxes are returned.
The Australia Post API requires that your non-virtual products have weights and dimensions set. More at: Adding Dimensions and Weights to Products for Shipping.
Satchel Rates
↑ Back to top- 500g satchels are 335mm x 220mm ( W x H ) and are suitable for shipping CDs, iPods, mobile phones.
- 1kg satchels are 385 x 265mm ( W x H ).
- 3kg satchels are 405mm x 310mm ( W x H ) and are suitable for Fashion, books, digital cameras, toys.
- 5kg satchels are 510 x 435mm ( W x H ).
- Enable Satchel Rates – Uses the above satchels to calculate shipping, which ignores your custom boxes.
- Prioritize Satchel Rates – Uses Satchel Rates when applicable, but if your item does not meet criteria or fit in the satchel box, it will use a custom box size.
- Disable Satchel Rates – Ignores Satchel Rates and uses your own boxes.
Services
↑ Back to top
- Extra Cover is an optional selection that will increase the price of your shipping by adding additional insurance during transfer.
- Signature / Registered is another optional selection to cover tracking and (if purchased) signature at delivery.
- The Adjustment fields increase shipping by a flat amount or percent. A blank field leaves rates untouched.
- i.e. Your shipping is $10 with $5 in Adjustment ($) – the customer will be charged $15 for shipping.
- i.e. Your shipping is $10 with %15 in Adjustment (%) – the customer will be charged $11.50 for shipping.
Customer Usage
↑ Back to top- Cart page – by using the shipping calculator
- Checkout page – by filling in the shipping and billing forms
Rates can be selected by customers as normal.
Troubleshooting
↑ Back to topNo rates returned/no rates available
↑ Back to top- Ensure your API credentials are correct.
- Enable development mode, or turn on WP_DEBUG to see debugging information on the cart page. This will often reveal the problem.
- Check your products have sizes and weights set – without this the calculation cannot be performed.
- Check your store’s base country is Australia and that your using Australian Dollars (from WooCommerce > Settings > General).
Error message in cart: Fatal error: Cannot use object of type WP_Error as array in ../woocommerce-shipping-australia-post/classes/class-wc-shipping-australia-post.php on line 1086
↑ Back to top
How do I adjust tax rate?
↑ Back to topNote: We are unable to provide support for customizations under our Support Policy. If you are unfamiliar with code/templates and resolving potential conflicts, select a WooExpert or Developer for assistance.
If you need to adjust tax rate, you can add the following snippet to the file called “functions.php” within your theme folder:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'woocommerce_shipping_australia_post_tax_rate' , 'woocommerce_shipping_australia_post_custom_tax_rate' ); | |
/** | |
* Adjust tax rate | |
* | |
* @access public | |
* @since 1.0 | |
* @return void | |
*/ | |
function woocommerce_shipping_australia_post_custom_tax_rate() { | |
return '0.09090909'; | |
} |
Frequently Asked Questions
↑ Back to topDoes this support discounted/negotiated rates from Australia Post Business?
↑ Back to topHow do I make it return Australia Post Letter Rates?
↑ Back to top
How do I make it return Australia Post Satchel Rates?
↑ Back to top- 500g satchels are 335mm x 220mm ( W x H ) and are suitable for shipping CDs, iPods, mobile phones.
- 1kg satchels are 385 x 265mm ( W x H ).
- 3kg satchels are 405mm x 310mm ( W x H ) and are suitable for Fashion, books, digital cameras, toys.
- 5kg satchels are 510 x 435mm ( W x H ).