Configuration

Postie allows you to define various settings from the control panel, or through a configuration file. Create a file named postie.php in your craft/config directory. As with any configuration option, this supports multi-environment options.

Data set in the configuration file will always override data set via the control panel.

<?php

return array(
    '*' => array(
        // The address you are shipping from
        'originAddress' => array(
            'company'            => '<yourCompany>',
            'streetAddressLine1' => '<yourStreetAddressLine1>',
            'streetAddressLine2' => '<yourStreetAddressLine2>',
            'city'               => '<yourCity>',
            'postalCode'         => '<yourpostalCode>',
            'state'              => '<yourState>',
            'country'            => '<yourCountry>',
        ),

        // List of shipping providers and their services you want to make available
        'providers' => array(
            'australiaPost' => array(
                'name' => 'Australia Post',

                // etc
            ),
        ),
    ),
);

Configuration options #

  • originAddress - your origin postal address from where products ship. See Origin Address
  • providers - options set for each provider using their handle. See Providers

For an example of all the options available, navigate to the Postie plugin folder (craft/plugins/postie) and look at the file config.example.php.

Get started with Postie

Available for Craft 2 for $49, trial locally for as long as you need.