USPS Shipping Insurance
#81
Posted 30 July 2008 - 12:19 PM
#82
Posted 30 July 2008 - 03:59 PM
Op999, on Jul 30 2008, 05:19 AM, said:
You should just install USPS Methods and use the "with insurance" option and choose that you want insurance included in the admin - that way, all price quotes from usps include shipping insurance automatically.
Scott
osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox
Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox
#83
Posted 01 August 2008 - 04:54 PM
The problem is that if you have checked insurance and you are on checkout_confirmation.php or checkout_payment.php and you go back to checkout_shipping, the option of the insurance is UNchecked. And it doesn't matter if you leave it unchecked or if you checked it again. In the confirmation page the insurance will be as checked. So if you want to uncheck it you can't...
The fix i think must do this :
First of all, if you go back to the checkout_shipping, the box of the insurance must be checked (if you have checked it before)
And last, if you uncheck it and you proceed to the next pages, the insurance must turn off..
I think you understand what i am telling..
Product_Short_Description (i added it on specials.php and in shopping_cart.php)
City Shipping Rates With Admin (fixed the error that was giving wrong total shipping charges)
I had Created :
UTF bug fix on standard reviews system (admin & block)
Corrupted character on mysql with utf-8
#84
Posted 02 August 2008 - 08:31 PM
Scott
osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox
Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox
#85
Posted 08 August 2008 - 08:36 PM
After this :
function rowOutEffect(object) {
if (object.className == 'moduleRowOver') object.className = 'moduleRow';
}
Add that function : function insurancecheck(oRow){
if(oRow.getElementsByTagName('input')[0]&&oRow.getElementsByTagName('input')[0].type=='checkbox'){
var c = oRow.getElementsByTagName('input')[0];
c.checked=(c.checked==false)?true:false;
}
else{alert('There is not any checkbox on that <tr>')}
}
And then find this : <tr> <td class="main" align="right" valign="middle"><input type="checkbox" name="choose_insurance" value="1" ></td> <td class="main" align="left" valign="middle"><? echo TEXT_USPSSHIPPING_INSURANCE_QUOTE; ?></td> <td class="main" align="center"><?php echo TEXT_USPSSHIPPING_INSURANCE_DISCLAIMER2; ?></td>And change it to this :
<tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="insurancecheck(this)"> <td class="main" align="right" valign="middle"><input type="checkbox" name="choose_insurance" value="1" ></td> <td class="main" align="left" valign="middle"><? echo TEXT_USPSSHIPPING_INSURANCE_QUOTE; ?></td> <td class="main" align="center"><?php echo TEXT_USPSSHIPPING_INSURANCE_DISCLAIMER2; ?></td>To the contibuter : I think it's a good idea to add it in the next version.. Also if you have any news for the bug, please post it!
Product_Short_Description (i added it on specials.php and in shopping_cart.php)
City Shipping Rates With Admin (fixed the error that was giving wrong total shipping charges)
I had Created :
UTF bug fix on standard reviews system (admin & block)
Corrupted character on mysql with utf-8
#86
Posted 09 August 2008 - 08:55 PM
Edited by olsonsp4c, 09 August 2008 - 08:56 PM.
osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox
Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox
#87
Posted 10 August 2008 - 12:24 AM
Product_Short_Description (i added it on specials.php and in shopping_cart.php)
City Shipping Rates With Admin (fixed the error that was giving wrong total shipping charges)
I had Created :
UTF bug fix on standard reviews system (admin & block)
Corrupted character on mysql with utf-8
#88
Posted 12 August 2008 - 05:46 AM
Product_Short_Description (i added it on specials.php and in shopping_cart.php)
City Shipping Rates With Admin (fixed the error that was giving wrong total shipping charges)
I had Created :
UTF bug fix on standard reviews system (admin & block)
Corrupted character on mysql with utf-8
#89
Posted 04 October 2008 - 07:29 AM
olsonsp4c, on Aug 9 2008, 09:55 PM, said:
Any luck on the back/forth checked/unchecked value issue yet?
#90
Posted 18 October 2008 - 04:44 PM
Product_Short_Description (i added it on specials.php and in shopping_cart.php)
City Shipping Rates With Admin (fixed the error that was giving wrong total shipping charges)
I had Created :
UTF bug fix on standard reviews system (admin & block)
Corrupted character on mysql with utf-8
#91
Posted 22 October 2008 - 07:17 AM
Scott
osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox
Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox
#92
Posted 25 October 2008 - 07:52 PM
Sorry if this is the wrong thread to ask this, but I don't know where else to ask for help.
What I am looking to do:
- Add (manditory) insurance to USPS domestic shipping. I do NOT want to give the customer the choice.
- Show USPS transit times in checkout.
- Be able to update insurance rates from Admin when USPS changes rates.
- I do not charge tax.
- I am using USPS Methods 2.9.2 Upper Case Fix2
- Although ticked in Admin Panel, transit times do not show (weight does).
- I am using PayPal IPN v2.3.3 (having insurance combined with shipping is fine).
The only couple of issues that I am concerned with:
- I have never been able to display transit times. Will that be an issue that might carry over with this contribution although it states it was added?
- It sounds like it is giving the option of adding insurance to the customer - "Added the optional shipping insurance order totals module (checkbox)". Can that feature be left out so that insurance is automatically calculated in to the shipping cost? Something showing on the checkout page something like -
TIA
- My Toolbox ~ Adobe Web Bundle & WinMerge | Install ~ osCommerce
- Not 4 Hire ~ Please DO NOT PM me for help. I really do not have a clue what I am doing! -
- Working on a new 2.3.3 install -
#93
Posted 28 October 2008 - 05:50 AM
jhande, on Oct 25 2008, 12:52 PM, said:
Sorry if this is the wrong thread to ask this, but I don't know where else to ask for help.
What I am looking to do:
- Add (manditory) insurance to USPS domestic shipping. I do NOT want to give the customer the choice.
- Show USPS transit times in checkout.
- Be able to update insurance rates from Admin when USPS changes rates.
- I do not charge tax.
- I am using USPS Methods 2.9.2 Upper Case Fix2
- Although ticked in Admin Panel, transit times do not show (weight does).
- I am using PayPal IPN v2.3.3 (having insurance combined with shipping is fine).
The only couple of issues that I am concerned with:
- I have never been able to display transit times. Will that be an issue that might carry over with this contribution although it states it was added?
- It sounds like it is giving the option of adding insurance to the customer - "Added the optional shipping insurance order totals module (checkbox)". Can that feature be left out so that insurance is automatically calculated in to the shipping cost? Something showing on the checkout page something like -
TIA
My opinion is to use usps methods 3.0 - i still use it on my site - you can update the domestic and international insurance rates with this addon (I wrote it, so I think i'm remembering correctly) - you can choose to include insurance rates as mandatory for customers - estimated shipping times show properly on my site currently. make sure you remove and delete the stock osC usps module before installing. To be safe, remove and delete usps 2.9.2 as well and go into your mysql database and ensure it deleted the usps fields in the configuration table manually (open the configuration table and search for USPS).
Scott
osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox
Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox
#94
Posted 28 October 2008 - 03:07 PM
I believe the database should be fine. I just compared the SQL updates of the v2.9.2 by tarheit and your v3.0, they are identical.
Oh, oh... just installed the contribution and double checked myself.
In admin panel, when I click on Edit (for USPS) I receive this message along the top:
Parse error: syntax error, unexpected T_GLOBAL, expecting ')' in /home/handesho/public_html/catalog/admin/modules.php(216) : eval()'d code on line 1
Also although I selected all the options; I lost my handling fee and insurance does not get added.
Any ideas what to look for?
- My Toolbox ~ Adobe Web Bundle & WinMerge | Install ~ osCommerce
- Not 4 Hire ~ Please DO NOT PM me for help. I really do not have a clue what I am doing! -
- Working on a new 2.3.3 install -
#95
Posted 28 October 2008 - 03:53 PM
jhande, on Oct 28 2008, 08:07 AM, said:
I believe the database should be fine. I just compared the SQL updates of the v2.9.2 by tarheit and your v3.0, they are identical.
Oh, oh... just installed the contribution and double checked myself.
In admin panel, when I click on Edit (for USPS) I receive this message along the top:
Parse error: syntax error, unexpected T_GLOBAL, expecting ')' in /home/handesho/public_html/catalog/admin/modules.php(216) : eval()'d code on line 1
Also although I selected all the options; I lost my handling fee and insurance does not get added.
Any ideas what to look for?
Did you try the troubleshooting tip 1?
Scott
osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox
Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox
#96
Posted 29 October 2008 - 09:14 PM
olsonsp4c, on Oct 28 2008, 11:53 AM, said:
Scott
Thank you Scott... my bad!
That fixed my problem.
A word of warning...
When you get to be my age, do NOT pull all-nighters.
Also remember to write down your USPS username before de-activating the module.
Thanks again Scott for both the contribution and your help.
And thanks to the USPS for assigning me a new username\password so quick!
- My Toolbox ~ Adobe Web Bundle & WinMerge | Install ~ osCommerce
- Not 4 Hire ~ Please DO NOT PM me for help. I really do not have a clue what I am doing! -
- Working on a new 2.3.3 install -
#97
Posted 29 October 2008 - 09:23 PM
jhande, on Oct 29 2008, 02:14 PM, said:
Thank you Scott... my bad!
That fixed my problem.
A word of warning...
When you get to be my age, do NOT pull all-nighters.
Also remember to write down your USPS username before de-activating the module.
Thanks again Scott for both the contribution and your help.
And thanks to the USPS for assigning me a new username\password so quick!
You're welcome!
osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox
Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox
#98
Posted 09 November 2008 - 08:09 PM
Sorry but I'm back to rattle your brain a little. I tried posting this elsewhere but got no replies...
I would like to rearrange how some text is displayed on the checkout_confirmation page.
Specifically:
Shipping Method (Edit)
United States Postal Service (1 x 2.25lbs) (Parcel Post:
Estimated 2 - 9 Days)
To this:
Shipping Method (Edit)
U.S.P.S. (1 x 2.25lbs)
(Parcel Post: Est. 2 - 9 Days)
And this:
United States Postal Service (1 x 2.25lbs) (Parcel Post: Estimated 2 - 9 Days): $10.41
Total: $30.91
To this:
U.S.P.S.: $10.41
Total: $30.91
I found this - $time = 'Estimated 1 - 2 ' . MODULE_SHIPPING_USPS_TEXT_DAYS; in includes\modules\shipping_usps.php so I think if I change all instances of Estimated to Est. that might work for that edit. But I can't figure out how to add a line break between the shipping weight and the transit time or where to change "United States Postal Service" to "USPS". I'm not even sure if the last part of my edit could be done (next to the price).
Any ideas or helpful hints?
- My Toolbox ~ Adobe Web Bundle & WinMerge | Install ~ osCommerce
- Not 4 Hire ~ Please DO NOT PM me for help. I really do not have a clue what I am doing! -
- Working on a new 2.3.3 install -
#99
Posted 12 November 2008 - 06:59 AM
jhande, on Nov 9 2008, 12:09 PM, said:
Sorry but I'm back to rattle your brain a little. I tried posting this elsewhere but got no replies...
I would like to rearrange how some text is displayed on the checkout_confirmation page.
Specifically:
Shipping Method (Edit)
United States Postal Service (1 x 2.25lbs) (Parcel Post:
Estimated 2 - 9 Days)
To this:
Shipping Method (Edit)
U.S.P.S. (1 x 2.25lbs)
(Parcel Post: Est. 2 - 9 Days)
And this:
United States Postal Service (1 x 2.25lbs) (Parcel Post: Estimated 2 - 9 Days): $10.41
Total: $30.91
To this:
U.S.P.S.: $10.41
Total: $30.91
I found this - $time = 'Estimated 1 - 2 ' . MODULE_SHIPPING_USPS_TEXT_DAYS; in includes\modules\shipping_usps.php so I think if I change all instances of Estimated to Est. that might work for that edit. But I can't figure out how to add a line break between the shipping weight and the transit time or where to change "United States Postal Service" to "USPS". I'm not even sure if the last part of my edit could be done (next to the price).
Any ideas or helpful hints?
I'll take a crack at it...
Changing United States Postal Service to USPS
In catalog/includes/languages/english/modules/shipping/usps.php (in usps methods 3.0 or less)
define('MODULE_SHIPPING_USPS_TEXT_TITLE', 'United States Postal Service');
to this:
define('MODULE_SHIPPING_USPS_TEXT_TITLE', 'U.S.P.S.');
for the rest of it, I'm clueless at this point...
Scott
osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox
Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox
#100
Posted 12 November 2008 - 12:04 PM
I'll play around with the other edits until I except defeat LOL.
- My Toolbox ~ Adobe Web Bundle & WinMerge | Install ~ osCommerce
- Not 4 Hire ~ Please DO NOT PM me for help. I really do not have a clue what I am doing! -
- Working on a new 2.3.3 install -









