Community Add-Ons

Maintainers: olsonsp4c
No public uploads allowed
Top » Order Total Modules

USPS Shipping Insurance
for osCommerce Online Merchant v2.2

USPS Shipping Insurance 1.0 by olsonsp4c

This module 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.

IMPORTANT NOTE: This order total module will ONLY work if you ship ONE package per order. If you ship in MULTIPLE packages per order, the shipping insurance will NOT calculate properly.

What I could use help on:
1. I can not figure out how to call the $shipping_box_num variable from includes/classes/shipping.php in this order total module. If I could do this, this module would be able to properly calculate shipping insurance on MULTIPLE packages per order.

2. I'd rather that the USPS shipping insurance option appear on catalog/checkout_shipping.php However, I can not figure out how to make the checkbox variable "choose_insurance" carry from checkout_shipping.php through checkout_payment.php and then to checkout_confirmation.php


SCREENSHOTS included. COMPLETE package (hopefully I didn't forget anything)

SUPPORT FORUM: http://forums.oscommerce.com/index.php?showtopic=294640
Please work together to make this a better addon.

Legend:  Download   Report

Expand All / Collapse All

USPS Shipping Insurance v1.51 olsonsp4c 17 Nov 2008  

FULL PACKAGE with UPDATE INSTRUCTIONS

(please ignore v1.5 below)

Changes since v1.4
------------------
* Fixed the issue: if customer goes back to the checkout shipping page from checkout payment to change their USPS shipping insurance choice, the change is not registered. Now, changes are registered properly.
* Added the edits suggested by draculakos which adds rollover color and a function that enables you to click anywhere inside infobox in order to toggle the USPS shipping insurance checkbox. (1 edit was missing on the forum, I have corrected this)

Scott

USPS Shipping Insurance v1.5 olsonsp4c 17 Nov 2008  
USPS Shipping Insurance v1.4 olsonsp4c 17 Jul 2008  
USPS Shipping Insurance v1.3 olsonsp4c 30 Apr 2008  
USPS Shipping Insurance v1.2 olsonsp4c 11 Apr 2008  
USPS Shipping Insurance 1.1a olsonsp4c 18 Mar 2008  
USPS Shipping Insurance 1.1 olsonsp4c 17 Mar 2008  
USPS Shipping Insurance olsonsp4c 29 Feb 2008