Zen Cart Logo
Forums / Addon Shipping Modules / Insurance Yes and NO

Insurance Yes and NO

Locked

Views: 908

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
10 Jun 2009, 7:08 PM
#1
newton2020 avatar

newton2020

New Zenner

Join Date:
Jun 2009
Location:
OK
Posts:
3
Plugin Contributions:
0

Insurance Yes and NO

I was wandering if anyone could help me out with this small problem I have.

Our company uses UPS for small shipments which we require to have insurance on all packages. I installed the insurance module and it works great except for a small problem(in other thread). This problem I can overlook as it is not a big deal.

We also use freight companies for our larger shipments which can range from 150lbs to 15,000 lbs give or take some. I have setup one freight line (Central Transport) by means of the zonetable addon which work great for me. The thing is we do not charge insurance on the freight shipments as I believe it is included in their charges.

Bottom line:
I want insurance added in our UPS shipments.
I do not want insurance added in our freight shipments.

It adds insurance to both. Is there anyway I can tell the insurance addon to ignore the zonetable like it does the free ship, GV and Virtual stuff?? I would really appreciate any help on this it is pretty much the last thing I have to figure out before unleashing the store.

http://www.ortcoinc.com/store

I have the latest version of zen-cart and the addons as far as I know.

14 Jun 2009, 2:54 AM
#2
newton2020 avatar

newton2020

New Zenner

Join Date:
Jun 2009
Location:
OK
Posts:
3
Plugin Contributions:
0

Re: Insurance Yes and NO

Finally got it working. Hopefully I did not screw something up I am not aware of yet. Here is what I did.

In
/includeds/module/order_total/ot_insurance.php

I found

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

Changed to

if ($_SESSION['shipping']['id'] == 'zonetable_zonetable' or $_SESSION['shipping']['id'] == 'storepickup_storepickup')