They're pretty standard, here is a copy and paste of the first file;
Set separate table rate for different shipping zones
Enable Table Method
True
Table Method
weight
Tax Class
--none--
Tax Basis
Billing
Sort Order
1
Shipping Zone 1
Toll Air next day service
Zone 1 Shipping Table
1000:7.45,3000:11.40,5000:18.20,10000:28.90,15000:36.00,20000:45.00
Zone 1 Handling Fee
0
Shipping Zone 2
--none--
Zone 2 Shipping Table
25:8.50,50:5.50,10000:0.00
Zone 2 Handling Fee
0
Shipping Zone 3
--none--
And the other;
Set separate table rate for different shipping zones
Enable Table Method
True
Table Method
weight
Tax Class
--none--
Tax Basis
Billing
Sort Order
2
Shipping Zone 1
Australia
Zone 1 Shipping Table
500:9.40,3000:12.70,5000:21.50,10000:28.90,15000:36.00,20000:45.00
Zone 1 Handling Fee
0
Shipping Zone 2
Shipping to Northern Territory
Zone 2 Shipping Table
500:9.40,3000:12.70,5000:21.50,10000:28.90,15000:36.00,20000:45.00
Zone 2 Handling Fee
0
Shipping Zone 3
--none--
The thing is, we added some custom code. The first file (zone toll) wont display if shipping to Northern Territory is selected (too expensive) or if dangerous goods are in the cart (this shipping method uses air) So we put;
if ($order->delivery['zone_id'] != 191) // if not in Northern Territory Australia
{
if (!IS_ADMIN_FLAG && $_SESSION['cart']->in_cart_check('master_categories_id','34') > 0) $this->enabled = false; // dangerous goods - cant go by air
if (!IS_ADMIN_FLAG && $_SESSION['cart']->in_cart_check('master_categories_id','35') > 0) $this->enabled = false; // dangerous goods - cant go by air
}
The second file does two things - its the default shipping for Northern Territory and its also called in as the default shipping if dangerous goods are in the cart. We put in this file;
if ($order->delivery['zone_id'] != 191) // if not in Northern Territory Australia
{
if ((!IS_ADMIN_FLAG && $_SESSION['cart']->in_cart_check('master_categories_id','34') == 0) && // dangerous goods - cant go by air AND
(!IS_ADMIN_FLAG && $_SESSION['cart']->in_cart_check('master_categories_id','35') == 0)) // dangerous goods - cant go by air
{
$this->enabled = false; // then disable this shipping module
}
}
Its pretty late here and my logic is fuzzy at best - Im trying to remember why I also defined Northern Territory as its own zone with its own shipping method.
Im sure I can code zone toll to only show if the selected state/territory in the Australia zone doesnt equal NT and doesnt contain dangerous goods.
Likewise, I need to hide the second Australia Post zonetable.php file as we want Toll to be the only shipping method available unless it encounters the two conditions just mentioned. :lookaroun