Welcome, Guest. Please login or register.
Login with username, password and session length


VirtueMart 1.1.8 - [SECURITY RELEASE] is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: When both USPS and UPS shipping modules are used, can't select USPS on Firfox  (Read 2242 times)
louisfung
Newbie
*
Posts: 1


« on: December 02, 2008, 17:28:37 PM »

http://www.protechsystems.us/stuff/usps-ups.htm

Please see demo and please reply how to fix this problem on FIREFOX.
Logged
sonicfog
Newbie
*
Posts: 3


« Reply #1 on: December 17, 2008, 03:07:45 AM »

Hello, Tedd here from http://sonicfog.com.  We have fixed this issue in our VM installs by doing the following:
administrator/components/virtuemart/classes/shipping/ups.php
There is an error closing a label tag around line 278 so, we've commented out one block of code and added a new block.
Code:
<?php

/*if (Show_Delivery_Warning == 1 && !empty($value['RatedShipmentWarning'])) {
$html .= "</label><br/>\n&nbsp;&nbsp;&nbsp;*&nbsp;<em>".$value['RatedShipmentWarning']."</em>\n";
}
$html .= "<br />\n";
This block is being edited to the block below by TEC of SonicFog
*/

if (Show_Delivery_Warning == && !empty($value['RatedShipmentWarning'])) {
$html .= "</label><br/>\n&nbsp;&nbsp;&nbsp;*&nbsp;<em>".$value['RatedShipmentWarning']."</em>\n";
} else {
$html .= "</label>";
}
$html .= "<br />\n";

?>

Hope this helps and if you need help let me know and I can fix it for you.
Tedd
Logged
WaynePipes
Newbie
*
Posts: 2


« Reply #2 on: February 01, 2009, 15:58:11 PM »

Many thanks Tedd it fixed the problem I was having in FireFox using USPS and UPS! I had to register just to thank you, took me quite awhile searching and I found this page.

Thanks again.
Logged
dmsulli
Newbie
*
Posts: 1


« Reply #3 on: March 10, 2009, 13:48:07 PM »

I applied the fix listed above and apparently shattered something as now *no* shipping options are showing up. I made no other changes and can't for the life of me figure out what went wrong.

Any ideas?

Thanks.
Dawn
Logged
Pages: [1]   Go Up
Print
Jump to: