Forums / Addon Shipping Modules / Optional Shipping Insurance Module [Support Thread]

Optional Shipping Insurance Module [Support Thread]

Views: 168,604

Results 61 to 80 of 416
8 Nov 2007, 10:08 PM
#61
traypup avatar

traypup

New Zenner

Join Date:
May 2007
Posts:
56
Plugin Contributions:
0

Optional Shipping Insurance Module [Support Thread]

On the store pickup issue, I'm not sure if this answers the question or has been covered, but I configured in-store pickup and it works alongside the optional shipping insurance mod just fine.

9 Nov 2007, 5:11 AM
#62
sneader avatar

sneader

New Zenner

Join Date:
Mar 2007
Posts:
20
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

We REQUIRE insurance, it is not optional. But of course you don't need insurance if you are picking up the item and not using a shipper.

I don't know how to stop this module from adding insurance to store pickup. Again, just super surprised that the concept of insurance was somehow left out of ZenCart. I appreciate Jen's 3rd party module... at least I can include insurance now, even if I look like a dork for charging insurance on a store pickup. :)

  • Scott
10 Nov 2007, 1:12 AM
#63
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Optional Shipping Insurance Module [Support Thread]

sneader:

We REQUIRE insurance, it is not optional. But of course you don't need insurance if you are picking up the item and not using a shipper.

I don't know how to stop this module from adding insurance to store pickup. Again, just super surprised that the concept of insurance was somehow left out of ZenCart. I appreciate Jen's 3rd party module... at least I can include insurance now, even if I look like a dork for charging insurance on a store pickup. :)

  • Scott

Did you see Ajeh's response?

21 Nov 2007, 9:16 PM
#64
sneader avatar

sneader

New Zenner

Join Date:
Mar 2007
Posts:
20
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

Ajeh:

I don't have the insurance module running around but you could use this IF statement to determine when to use or not use it:

if ($_SESSION['shipping']['id'] == 'storepickup_storepickup') {
// do stuff
} else {
// don't do stuff
}

 
Hi Linda.  I looked at this module for a while and all I got was a headache.  Would you mind taking a peek at it when you have time? (php file attached as a .txt).   If not, I understand....
 
- Scott
23 Nov 2007, 3:00 AM
#65
purple_circle avatar

purple_circle

New Zenner

Join Date:
Oct 2005
Posts:
28
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

Jeffey:

Trying to get the insurance to work reasonably well for both USPS and UPS rates since I use UPS in the U.S. and USPS to other countries.

USPS with rate chart selected works great of course but then UPS rate is significantly higher than actual UPS rates because they are using USPS higher insurance rates.

I've been working with percentages to get them both to be at least close to actual cost but when I use percentage I get this message on checkout step 3:

Warning: Missing argument 2 for zen_add_tax() in ../zencart/includes/functions/functions_taxes.php on line 94

Line 94 reads (along with comment above):
////
// Add tax to a products price based on whether we are displaying tax "in" the price
function zen_add_tax($price, $tax) {

However, tax appears to be adding correctly, or not showing as it should in every place but my state but message always shows regardless.

Anyone run across this before or figured out a way to have the module work for both USPS and UPS depending on option provided at checkout?

In my case shipping method happens automatically based on U.S./non-U.S. and no choice is given.

Thanks.

I am also getting this error after installing the OSIM on an otherwise working Zen 1.3.7 installation. Has anyone made any headway on this yet?

23 Nov 2007, 3:35 AM
#66
jeffey avatar

jeffey

Zen Follower

Join Date:
Aug 2006
Posts:
252
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

Been a while since I revisited this thread (though I glance at email updates) but it doesn't look like anyone has tackled this.

Personally I gave up and now just charge everyone $0.75 for insurance. I haven't taken the time to figure out the lose/gain on the total orders but I'm sure it is not significant either way. Prior to Zen I generally took a small lose at the end of the year for shipping charges anyway.

UPS covers up to $100 without insurance so orders under that are bumping another $0.75. I think the new USPS (I only ship via Air Priority International) now has indemnity coverage around $60-75 for many Countries so, again, this level of order through in another $0.75.

Huge orders don't worry me since I just write it off towards making a nice order.

I'm sure there are other workarounds that will end up equally well. Mine is mandatory and every customer sees it before submitting anyway and no one has had an issue with it to date.

Truth is so many businesses/people overcharge for shipping and/or add a "handling" charge that my total shipping is affordable and most comment on how reasonable it is.

4 Dec 2007, 8:31 AM
#67
lisk avatar

lisk

Zen Follower

Join Date:
Jun 2006
Posts:
118
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

I added this module and it works on 1.3.7. :) Thanks! I was wondering if it's possible to do two things:

  1. Offer the insurance option on the shipping step of checkout (checkout_shipping) instead of the payment step of checkout (checkout_payment)

  2. Display the cost of the insurance when using USPS rates (right now customers have to check the box, enter their method of payment and proceed to the next step of checkout without knowing how much they're going to be charged for insurance).

If it's not possible to do both, the second is a higher priority for me. :)

thank you!
-Lis

7 Dec 2007, 2:35 PM
#68
diannev avatar

diannev

New Zenner

Join Date:
Jul 2007
Location:
Johannesburg
Posts:
27
Plugin Contributions:
1

Re: Optional Shipping Insurance Module [Support Thread]

I'm also getting that error message...

Warning: Missing argument 2 for zen_add_tax() in ../zencart/includes/functions/functions_taxes.php on line 94

Line 94 reads (along with comment above):
////
// Add tax to a products price based on whether we are displaying tax "in" the price
function zen_add_tax($price, $tax) {

It is fine on Amounts, just not percentages.

Is there anyone smart enough out there to compare the Amount vs Percentage calculations and perhaps spot the error? Its probably in ordertotal/ot_insurance.php between lines 165 and 173.

The world is divided into 10 kinds of people, those who understand binary and those who don't.

7 Dec 2007, 9:35 PM
#69
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Optional Shipping Insurance Module [Support Thread]

diannev:

I'm also getting that error message...

Warning: Missing argument 2 for zen_add_tax() in ../zencart/includes/functions/functions_taxes.php on line 94

Line 94 reads (along with comment above):
////
// Add tax to a products price based on whether we are displaying tax "in" the price
function zen_add_tax($price, $tax) {

It is fine on Amounts, just not percentages.

Is there anyone smart enough out there to compare the Amount vs Percentage calculations and perhaps spot the error? Its probably in ordertotal/ot_insurance.php between lines 165 and 173.

I don't get this error. Make sure that even though you're using percentage, have values in the rate, increment amount, etc... meaning leave nothing blank.

8 Dec 2007, 6:02 PM
#70
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Optional Shipping Insurance Module [Support Thread]

OK, sorry guys, there is an issue with percentage, sorry I missed it.

Please try this version of includes/modules/order_total/ot_insurance.php, and test it out for me. If there are no issues, I'll upload the new version to the download site.

8 Dec 2007, 6:52 PM
#71
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Optional Shipping Insurance Module [Support Thread]

**Actually guys, TRY THIS ONE INSTEAD.
**

It goes here: includes/modules/order_total/ot_insurance.php

It includes NEW USPS rates, and also will turn itself OFF if someone chooses "STORE PICKUP" as their shipping method.

10 Dec 2007, 7:56 PM
#72
this_side_up avatar

this_side_up

New Zenner

Join Date:
Nov 2006
Posts:
57
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

Can anyone confirm if this works with V1.3.8 ?

I tried it on V1.3.7, no problems, but when i tried it on V1.3.8 my checkout payment screen is blank (nothing loads). :huh:

What could I be doing wrong?

Thanks

Warren

13 Dec 2007, 1:36 AM
#73
garsar avatar

garsar

New Zenner

Join Date:
Nov 2007
Posts:
2
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

Same thing happening to me, blank screen on checkout step 2.

So it's definitely a 1.3.8 issue.

26 Dec 2007, 10:29 AM
#74
dvdtitan avatar

dvdtitan

New Zenner

Join Date:
Apr 2007
Posts:
87
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

I'm using this on 1.37.1 but i cannot get it to work. the tick box option in checkout is there but the rates that i have set up are never applied to the total cost of the order on the final confimration screen.

What am i doing wrong?

28 Dec 2007, 3:35 PM
#76
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Optional Shipping Insurance Module [Support Thread]

DVDTitan:

I'm using this on 1.37.1 but i cannot get it to work. the tick box option in checkout is there but the rates that i have set up are never applied to the total cost of the order on the final confimration screen.

What am i doing wrong?

Did you turn off the USPS rate option? Does any amount get added?

30 Dec 2007, 9:13 AM
#77
dvdtitan avatar

dvdtitan

New Zenner

Join Date:
Apr 2007
Posts:
87
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

jettrue:

Did you turn off the USPS rate option? Does any amount get added?

Yes i did turn off the USPS rate and no, no amoutn getsa added to the final confirmation screen.

I have just uploaded your revised file and that makes no difference. There is the option to check the require insurance box, when i check that no amount gets added on the final payment screen.

These are my settings:

[B]Enable Insurance Module[/B]
true
 
[B]Offer Shipping Insurance?[/B]
true
 
[B]Sort Order[/B]
500
 
[B]Use USPS Rates?[/B]
false
 
[B]Alternate Insurance Type[/B]
amount
 
[B]Insurance Percentage[/B]
5
 
[B]Insurance Rate[/B]
£0.50
 
[B]Increment Amount[/B]
£30.00
 
[B]Amount Exempt From Fee[/B]
£0.00
 
[B]Apply Insurance Fee To Which Orders[/B]
both
 
[B]Tax Class[/B]
--none--
 
[B]No Insurance Fee on Virtual Products[/B]
true
 
[B]No Insurance Fee on Gift Vouchers[/B]
true
  
30 Dec 2007, 2:47 PM
#78
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Optional Shipping Insurance Module [Support Thread]

DVDTitan:

Yes i did turn off the USPS rate and no, no amoutn getsa added to the final confirmation screen.

I have just uploaded your revised file and that makes no difference. There is the option to check the require insurance box, when i check that no amount gets added on the final payment screen.

Hmmm, Under "modules", "order total" make sure that the insurance module's sort order isn't the same as something else's?

31 Dec 2007, 9:20 PM
#79
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Optional Shipping Insurance Module [Support Thread]

As requested by Jettrue, I am going to explain the reason for the update to 3.10.

A sponsor requested the following additions be made to the script:

  • be able to see the rate that is being added on the checkout_payment page (works in all currencies).
  • make insurance mandatory when an order is over a defined amount.
  • make the former USPS rate table admin configurable and generalized to be used for any shipping company.
  • distuinguish free-shipping items from regular shipping products so that insurance can be based on the regular shipping products only.
  • make all of the above compatible with Fast and Easy Checkout as well.

Jettrue wanted me to also outline that because I have removed the hard-coded USPS rates and put in a general admin table, features such as the max-Canadian insurance rate no longer exist. Well, this is only partially true. If $1000 is the most that can be insured and the cost is $10, simply put 1000:10 in the table that is defined for your zone containing Canada and all orders over $1000 will be charged $10 only. Then, simply add a note on your checkout page that Canadian orders are insured up to a maximum of $1000.

If anyone has requests for the mod, please feel free to contact me and I will try to implement them when convenient.

2 Jan 2008, 11:50 AM
#80
dvdtitan avatar

dvdtitan

New Zenner

Join Date:
Apr 2007
Posts:
87
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

jettrue:

Hmmm, Under "modules", "order total" make sure that the insurance module's sort order isn't the same as something else's?

Have checked and it does not clash. I've even changed it to another number and it still does'nt show up.

Can you suggest anything else i can try to get it working? I think it would be a great mod for my site and really want to implement it.