Customize the UPS shipping module with something like:
Code:
// EOF: UPS USPS
echo 'I SEE ' . $type . '<br>';
$discount = 0.00;
if ($type == '1DA') {
$discount = .75;
}
$methods[] = array('id' => $type,
'title' => $this->types[$type],
'cost' => (($cost * $discount) + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes);
What that will do is show you the value of the $type and apply a 25% discount when set to 1DA ...
This let's you see the $type and you can build your IF conditions from that ... later comment out the echo with // in front of it ...
NOTE: your screen will look goofy as heck ... but it is a quick way to see what needs to be customized ...
Bookmarks