|
UPS /USPS Insurance fee and
Confirmations fee Calculations Modification |
| This
is the modification that adds the UPS /USPS Insurance fee and
Confirmations fee to the shipping cost in the 30_ship_cc.asp. The code
produces insurance fee and confirmation fee that match exactly the same
as the value from UPS.com and USPS.com.
If you have not modified this page, you can
just replace the page. The modification are very easy to Copy and Paste to
your customized version also. |
| Features |
| |
Display
total shipping weight. |
| |
Display
insure amount. |
| |
Calculate
and display UPS insurance |
| |
Calculate
and display USPS insurance. Automatic insurance amount for
value less than $50.00 and more than $50.00. |
| |
Calculate
Delivery Confirmation or Signature Confirmation for UPS. |
| |
Calculate
Delivery Confirmation or Signature Confirmation for USPS. |
| |
Insurance
rates and confirmation fees are Administrator changeable. |
| |
Confirmation
can be turn ON or OFF. |
| |
Administrator
selectable Delivery Confirmation or Signature Confirmation. |
| |
No
database change. All value are store as Constants in the
30_ship_CC.asp. |
| |
Added
modification are clearly marked
and commented. |
|
|
Screen Shots:
Please note all UPS rate in
following example use customer counter rate |
| |
|
Insured amount less then
$100.0, with confirmation. |
|

|
|
Insured amount less then
$100.0, without confirmation. |
|

|
|
Insured amount more then
$100.00, no confirmation |
|

|
| Insured
amount more than $100.00, with Confirmation. |
|

|
|
No Shipping Charge. |
|

|
Sample
Code:
This is where you set the UPS values and confirmation selection.
USPS has similar settings. |
'========================================
'The UPS insurance and confirmation rates
'========================================
const UPSDeliveryConfirmationRate = 1.00
const UPSSignatureConfirumationRate=2.00
const UPSNextHundredRate = 0.35
dim UPSConfirmation
dim UPSWhichConfirmation
dim UPSconfirmationCost
'====================================================
'Do you want UPS delivery confirmation and which one
'====================================================
'UPSConfirmation 1=yes 0=No
UPSconfirmation = 0
'UPSWhichConfirmation 1=Delivery 2=Signature
UPSWhichConfirmation = 1
|
| |