Skip to content

Instantly share code, notes, and snippets.

View angusfretwell's full-sized avatar

Angus Fretwell angusfretwell

View GitHub Profile
@Denham
Denham / AusPost shipping costs - wines
Created November 12, 2012 23:49
Base template for Auspost shipping costs
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Custom Store Shipping plugin
*
* Built based on AusPost costs for shipping wines.
* The actual rates change based on where the wines are being sent from, but you can use the zone stuff.
* The costs in this example are for shipping from Adelaide.
*/
class Store_shipping_aus_post_wines extends Store_shipping_driver
@amacneil
amacneil / store_shipping_example.php
Created March 23, 2012 23:48
An example custom shipping plugin for Expresso Store
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Store Shipping Example
*
* An example custom shipping plugin for Expresso Store
*/
class Store_shipping_example extends Store_shipping_driver
{
/**