Mity Docs Mity Docs for Mity Digital
Australia Post Shipping for Simple Commerce Documentation

Creating an Australia Post Shipping Method

This addon will do the heavy lifting of calculating total package size and contacting the Australia Post PAC. This means you need to use a special Shipping Method, and not Simple Commerce's standard Shipping Method.

To make an Australia Post Shipping Method, run:

1php please make:australia-post-shipping-method YourAustraliaPostShippingMethod

This will create a new Shipping Method in your app/ShippingMethods folder.

Edit this file, as there are four things you will need to do:

  1. Update the name string

  2. Update the description string

  3. Add a Domestic Service Code, or set to false to disable domestic calculations

  4. Add an International Service Code, or set to false to disable international calculations

Don't forget to add your new Shipping Method to Simple Commerce's Shipping configuration.