would love to see if you got this working, melissa!

Quote Originally Posted by ladyhypnotist View Post
I'm still trying to figure out how to exclude the optional insurance from fedex, so that it will only be available for USPS.

In includes/modules/order_total/ot_insurance.php, I believe this phrase excludes the insurance for in store pickup:

if ($_SESSION['shipping']['id'] == 'storepickup_storepickup') {
class ot_insurance extends base{
function process() {
}
}
} else {

But if I try changing the first line to:

if ($_SESSION['shipping']['id'] == 'fedexexpress_fedexexpress') {

nothing seems to happen. The insurance still shows up for fedexexpress. Is there a different name I should use for fedexexpress? Where can I find this info to plug in there?

Once I can get it to work for fedexexpress, would the logic to exclude insurance for both store pickup and fedex look like this?:

if ($_SESSION['shipping']['id'] == 'storepickup_storepickup' || $_SESSION['shipping']['id'] == 'fedexexpress_fedexexpress') {

Thanks! I'm still new to php, so it's a bit trial and error.
Melissa