Hi Jason thanks for your reply
i can easily add the rules as static, but would prefer it to be dynamic if possible
for example if i wrote the following in php:
//quantity is the number of items,
//shipcost is the cost of shipping 1 box stored in a session variable
myshipping = function($quantity, $shipCost){
$boxHolds = 12;
//get number of complete boxes
$completeBoxes = floor($totalQuantity / $boxHolds);
//check too see if there are extra bottles
$extraItems = ($totalQuantity % $boxHolds);
if ($extraItems >0){
$completeBoxes +1;
}
$myshippingAmount = $completeBoxes * $shipCost;
return($myShippingAmount);
}
i could return either complete boxes from the function and have the rule calculate the shipping or return an actual cost for the shipping
would it work and how would i create a shipping rule using this function?