Jump to content



Latest News: (loading..)

* * * * * 2 votes

USPS Shipping Insurance


  • Please log in to reply
112 replies to this topic

#1   olsonsp4c

olsonsp4c
  • Members
  • 548 posts
  • Real Name:Scott Olson
  • Gender:Male
  • Location:Canon City, CO

Posted 29 February 2008 - 09:28 PM

This is the support forum topic for USPS Shipping Insurance which displays USPS shipping insurance rates on checkout_payment.php and allows for selection/deselecton of this option.  It then adds the proper shipping
insurance amount to the order total on checkout_confirmation.php.  Please read all the installation notes before installing.

This addon can be found here:



Hope this serves the community.

Scott (olsonsp4c)

#2   olsonsp4c

olsonsp4c
  • Members
  • 548 posts
  • Real Name:Scott Olson
  • Gender:Male
  • Location:Canon City, CO

Posted 29 February 2008 - 10:09 PM

It took me too long to finish the package because I wanted to include screenshots. Here is where you can find it:

USPS Shipping Insurance 1.0

If that does not work: http://addons.oscommerce.com/info/5782

Enjoy and please work together to improve this addon; so, all changes and mods to this addon must be discussed here before they will be integrated into the addon.  If you have suggestions, feel free to email or message me.

Scott (olsonsp4c)

Edited by olsonsp4c, 29 February 2008 - 10:21 PM.


#3   crafterscafe

crafterscafe
  • Members
  • 21 posts
  • Real Name:sue farace

Posted 05 March 2008 - 10:15 PM

I tried a different insurance mod and it didn't show up in my modules options - before I try this one is it working?

#4   olsonsp4c

olsonsp4c
  • Members
  • 548 posts
  • Real Name:Scott Olson
  • Gender:Male
  • Location:Canon City, CO

Posted 05 March 2008 - 10:28 PM

View Postcrafterscafe, on Mar 5 2008, 02:15 PM, said:

I tried a different insurance mod and it didn't show up in my modules options - before I try this one is it working?

it works - i have it working on my store.

Scott

#5   crafterscafe

crafterscafe
  • Members
  • 21 posts
  • Real Name:sue farace

Posted 06 March 2008 - 12:13 AM

I have followed the instructions, checked everything twice, the files are in the correct directory - but there is no option in the admin / modules.  the only thing that was different was my stylesheet was in the catalog directory.  Please help!

Never mind - after I walked away for a minute I realized what I did!!!

Edited by crafterscafe, 06 March 2008 - 12:20 AM.


#6   crafterscafe

crafterscafe
  • Members
  • 21 posts
  • Real Name:sue farace

Posted 06 March 2008 - 12:29 AM

okay - I got into the insurance module- however, when I select priorty it is forcing express at checkout?

#7   kimm

kimm
  • Members
  • 30 posts
  • Real Name:Kim Hibma

Posted 12 March 2008 - 04:02 PM

Nice addition! Thank you.

I am having a problem getting the module to include sales tax in the calculation. Can you direct me to what I am doing wrong?

Thanks in advance
Kim

#8   olsonsp4c

olsonsp4c
  • Members
  • 548 posts
  • Real Name:Scott Olson
  • Gender:Male
  • Location:Canon City, CO

Posted 12 March 2008 - 05:25 PM

View Postcrafterscafe, on Mar 5 2008, 05:29 PM, said:

okay - I got into the insurance module- however, when I select priorty it is forcing express at checkout?

This is not a problem with the insurance module, but with the shipping module.  I've seen this on the USPS forums several times, please check there.

Scott

#9   crafterscafe

crafterscafe
  • Members
  • 21 posts
  • Real Name:sue farace

Posted 12 March 2008 - 05:34 PM

I figured it out. you need to change the order to put the insurance above the tax.

#10   olsonsp4c

olsonsp4c
  • Members
  • 548 posts
  • Real Name:Scott Olson
  • Gender:Male
  • Location:Canon City, CO

Posted 12 March 2008 - 05:36 PM

View Postkimm, on Mar 12 2008, 09:02 AM, said:

Nice addition! Thank you.

I am having a problem getting the module to include sales tax in the calculation. Can you direct me to what I am doing wrong?

Thanks in advance
Kim

Hi Kim,

This is a shot in the dark with little info, but here it is...

1. Make sure that you have set the include tax option to True and click the update/save button (i know that is obvious)
2. Make sure that the sort order of the insurance module is AFTER the "Tax" in the order totals modules in the admin (per the instructions - see below)

   Sort Order?  Set this to the order you want it to appear in the totals table.
   See how your Order Total Modules have a Sort Order?  Well, I use Shipping
   as 3 and Shipping Insurance as 4.  Be careful NOT to have two modules with
   the same order number.  Note that ANY modules ordered after it, excluding
   shipping, will not be included in the total insured.

Hope this is the solution for you.

Scott

#11   olsonsp4c

olsonsp4c
  • Members
  • 548 posts
  • Real Name:Scott Olson
  • Gender:Male
  • Location:Canon City, CO

Posted 12 March 2008 - 05:42 PM

View Postcrafterscafe, on Mar 12 2008, 10:34 AM, said:

I figured it out. you need to change the order to put the insurance above the tax.

Thanks for letting me know - sort orders are important with order total modules.  appreciate your use of my addon Sue.

Scott

#12   kimm

kimm
  • Members
  • 30 posts
  • Real Name:Kim Hibma

Posted 13 March 2008 - 05:18 AM

View Postolsonsp4c, on Mar 12 2008, 11:36 AM, said:

Hi Kim,

This is a shot in the dark with little info, but here it is...

1. Make sure that you have set the include tax option to True and click the update/save button (i know that is obvious)
2. Make sure that the sort order of the insurance module is AFTER the "Tax" in the order totals modules in the admin (per the instructions - see below)

   Sort Order?  Set this to the order you want it to appear in the totals table.
   See how your Order Total Modules have a Sort Order?  Well, I use Shipping
   as 3 and Shipping Insurance as 4.  Be careful NOT to have two modules with
   the same order number.  Note that ANY modules ordered after it, excluding
   shipping, will not be included in the total insured.

Hope this is the solution for you.

Scott

Here's my settings. Just can't get the shipping insurance to add sales tax and I don't know much about php coding. I'm open to suggestions.

Discount Coupons 5  
Gift Vouchers 6  
Low Order Fee    
Shipping 2  
Sub-Total 1  
Tax 4  
Total 7  
USPS Shipping Insurance 3

Please check the USPS Website to confirm the accuracy of the insurance rates by clicking HERE for domestic rates and clicking HERE for international rates.

Insure Packages
True

Insure Tax
True

Customer Choice
True

Sort Order
3

US/Canada $.01-$50.00
$1.65

US/Canada $50.01-$100.00
$2.05

US/Canada $100.01-$200.00
$2.45

US/Canada $200.01-$300.00
$4.60

US/Canada per $100 over $300
$0.90

International $.01-$50.00
$0.00

International $50.01-$100.00
$0.00

International $100.01-$200.00
$0.00

International $200.01-$300.00
$0.00

International per $100 over $300
$0.00

#13   olsonsp4c

olsonsp4c
  • Members
  • 548 posts
  • Real Name:Scott Olson
  • Gender:Male
  • Location:Canon City, CO

Posted 13 March 2008 - 06:41 AM

View Postkimm, on Mar 12 2008, 10:18 PM, said:

Here's my settings. Just can't get the shipping insurance to add sales tax and I don't know much about php coding. I'm open to suggestions.

Discount Coupons 5  
Gift Vouchers 6  
Low Order Fee    
Shipping 2  
Sub-Total 1  
Tax 4  
Total 7  
USPS Shipping Insurance 3

USPS Shipping Insurance must be 1 higher in the order than Tax, so re-order them with this in mind.  So:

subtotal 1
shipping 2
tax 3
usps shipping insurance 4
and so on...

Scott

#14   kimm

kimm
  • Members
  • 30 posts
  • Real Name:Kim Hibma

Posted 13 March 2008 - 08:17 AM

View Postolsonsp4c, on Mar 13 2008, 12:41 AM, said:

USPS Shipping Insurance must be 1 higher in the order than Tax, so re-order them with this in mind.  So:

subtotal 1
shipping 2
tax 3
usps shipping insurance 4
and so on...

Scott

Hey Scott,

Tried setting shipping insurance as 4 as you suggested even tried it as 2 and 7. No matter where I place it the sales tax is not getting calculated on the shipping insurance portion of the order total.

#15   Dennisra

Dennisra
  • Members
  • 515 posts
  • Real Name:Joseph D. Jefferson
  • Gender:Male

Posted 13 March 2008 - 03:44 PM

I added the code to the stylesheet but I can't seem to control the size of the text at checkout_payment. Anyone else have this problem. Any tips to fix this. Other than that seems to work great and this is a contribution that was really needed. Thank you!

[img]http://www.drabel.com/customer_choice.jpg[/img]

#16   Dennisra

Dennisra
  • Members
  • 515 posts
  • Real Name:Joseph D. Jefferson
  • Gender:Male

Posted 13 March 2008 - 09:08 PM

I used the following in the stylesheet and it works fine now.  Thanks to the author for a really nice addition.

/* USPS Insurance */
TD.tinyText, SPAN.tinyText, P.tinyText {
  font-family: Verdana, Arial, sans-serif;
  font-size: 8px;
}
/* USPS Insurance */

#17   olsonsp4c

olsonsp4c
  • Members
  • 548 posts
  • Real Name:Scott Olson
  • Gender:Male
  • Location:Canon City, CO

Posted 14 March 2008 - 03:30 PM

View PostDennisra, on Mar 13 2008, 02:08 PM, said:

I used the following in the stylesheet and it works fine now.  Thanks to the author for a really nice addition.

/* USPS Insurance */
TD.tinyText, SPAN.tinyText, P.tinyText {
  font-family: Verdana, Arial, sans-serif;
  font-size: 8px;
}
/* USPS Insurance */

Thanks for the update!  Are you saying that you just missed that part of the instructions?

Scott

Edited by olsonsp4c, 14 March 2008 - 03:43 PM.


#18   Dennisra

Dennisra
  • Members
  • 515 posts
  • Real Name:Joseph D. Jefferson
  • Gender:Male

Posted 14 March 2008 - 11:12 PM

No, I didn't miss it. The instructions were there and correct. However, when I added that to the stylesheet I wanted to isolate it from other additions and be able to come back later and see what it was for and I erroneously added this:

// USPS Insurance
TD.tinyText, SPAN.tinyText, P.tinyText {
  font-family: Verdana, Arial, sans-serif;
  font-size: 8px;
}
// USPS Insurance

That didn't work for me but this did:

/* USPS Insurance */
TD.tinyText, SPAN.tinyText, P.tinyText {
  font-family: Verdana, Arial, sans-serif;
  font-size: 8px;
}
/* USPS Insurance */

Thanks again for the contribution. I have received a dozen orders since adding (none with PayPal yet) and it works great so far.

#19   olsonsp4c

olsonsp4c
  • Members
  • 548 posts
  • Real Name:Scott Olson
  • Gender:Male
  • Location:Canon City, CO

Posted 15 March 2008 - 12:31 AM

View PostDennisra, on Mar 14 2008, 04:12 PM, said:

No, I didn't miss it. The instructions were there and correct. However, when I added that to the stylesheet I wanted to isolate it from other additions and be able to come back later and see what it was for and I erroneously added this:

// USPS Insurance
TD.tinyText, SPAN.tinyText, P.tinyText {
  font-family: Verdana, Arial, sans-serif;
  font-size: 8px;
}
// USPS Insurance

That didn't work for me but this did:

/* USPS Insurance */
TD.tinyText, SPAN.tinyText, P.tinyText {
  font-family: Verdana, Arial, sans-serif;
  font-size: 8px;
}
/* USPS Insurance */

Thanks again for the contribution. I have received a dozen orders since adding (none with PayPal yet) and it works great so far.

Your welcome - the addon does not work like it should, but it is good enough for now!

Scott

#20   Dennisra

Dennisra
  • Members
  • 515 posts
  • Real Name:Joseph D. Jefferson
  • Gender:Male

Posted 15 March 2008 - 01:24 AM

Scott:

Now you have me puzzled. What do you mean when you say "does not work like it should"? What doesn't wok?

Dennis

View Postolsonsp4c, on Mar 14 2008, 07:31 PM, said:

Your welcome - the addon does not work like it should, but it is good enough for now!

Scott