Thank you Ajeh.
What I came up with is crude, but it works for me.
If anyone else was interested in this, all I did was hardcode the tare rules into the calculation. After tweaking it for a while, I wanted all orders with a weight less than 1.75 lbs to use a 0.375 lb tare weight. Everything else will get a 0.57 lb tare weight.
The file we're looking for is: /includes/classes/shipping.php.
Find code:
Code:
switch (true) {
// large box add padding
case(SHIPPING_MAX_WEIGHT <= $shipping_weight):
$shipping_weight = $shipping_weight + ($shipping_weight*($zc_large_percent/100)) + $zc_large_weight;
break;
default:
// add tare weight < large
$shipping_weight = $shipping_weight + ($shipping_weight*($zc_tare_percent/100)) + $zc_tare_weight;
break;
}
Replace with:
Code:
switch (true) {
// 1st Tare Rule
case($shipping_weight <= 1.75):
$shipping_weight = $shipping_weight + 0.375;
break;
// All Other Tare Weight
default:
$shipping_weight = $shipping_weight + 0.57;
break;
}
A nice thing about the original code is that it uses the switch statement. If needed you can add more tare weights and rules by copying the first one. Adding more "case" sections can allow for many more rules to be set up.
Cheers.