VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Shipping VM 1.1 => UPS VM 1 => Topic started by: webuddha on July 17, 2008, 04:47:20 AM

Title: Update to UPS for Virtuemart 1.0.15 - 150+ Weights & XML Parser Fix
Post by: webuddha on July 17, 2008, 04:47:20 AM
This is an update to the UPS Shipping module.

[Total Weight / 150 (max UPS allows)] * [UPS RESPONSE FOR 150lbs PACKAGE]

Also cleaned up some XML parsing issues that assumed that UPS always returned the same XML formatting - was causing a total crash.

[attachment cleanup by admin]
Title: Re: Update to UPS for Virtuemart 1.0.15 - 150+ Weights & XML Parser Fix
Post by: ddc441 on August 11, 2008, 23:10:33 PM
Webuddha, the module seems to work fine as long as every UPS shipping option is enabled. If I uncheck any of the options, I start getting this error on the Select a Shipping Method page:

Warning: constant() [function.constant]: Couldn't find constant _FSC in /home/mywebsite/public_html/dev/administrator/components/com_virtuemart/classes/shipping/ups.php on line 407

The shipping options I have checked appear below the warnings and function fine. But blank lines (except for the price which is always the handling fee) for each of the unchecked methods also appear with a radio button.

Joomla and VM 1.0.15.

Hope that makes sense. Any suggestions?