Quote Originally Posted by Ajeh View Post
Make no changes to anything ...

Follow these steps ...

1 Get the Zip from from post #367 ...

2 Only install the files for the Order Total module for the Optional Insurance
/includes/modules/order_total/ot_optionalinsurance.php
/includes/languages/english/modules/order_total/ot_optionalinsurance.php

3 Edit the file:
/includes/modules/order_total/ot_optionalinsurance.php

and around line 144 comment out this line by adding the // and below it add the code in RED:
Code:
//echo 'shipping insurance: ' . $_SESSION['shipping']['insurance'] . '<br>';
      $selected = (($_SESSION['insurance'] == '1') ? true : false);
//override optional setting and force decline to be checked from the start
      $selected = true;
this will make the checkbox on the checkout_payment default as Decline Insurance by having it pre-checked so that if the customer wants the Insurance on the shipping they need to uncheck it ...
I have installed only the two files and commented out/added to includes/modules/order_total/ot_optionalinsurance.php

I uninstalled and installed admin/modules/order total/optional insurance. I have insurance set to on in the USPS mod.

Now insurance is being added still, but no insurance options at all. It also shows the cost with insurance added in the "estimated shipping cost"

Thanks!