VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Shipping VM 1.1 => USPS (U.S. Postal Service) VM 1 => Topic started by: susanlyn on August 17, 2009, 01:02:33 am

Title: help! Why isn't VM calculating shipping?
Post by: susanlyn on August 17, 2009, 01:02:33 am
I have the USPS module installed as the only shipping method. It is configured to handle only flat rate small boxes. I just turned on the site, and it is not calculating any shipping into the final paypal cost. I thought maybe i still had to add usps as a shipper, but when I tried to save it, I got the following error message. What else do I need to do to get this to add the flat rate to the bottom line?



Warning: Missing argument 2 for vmGet(), called in /home/notyour5/public_html/administrator/components/com_virtuemart/classes/ps_shipping.php on line 113 and defined in /home/notyour5/public_html/administrator/components/com_virtuemart/classes/request.class.php on line 26
Title: Re: help! Why isn't VM calculating shipping?
Post by: lowmips on August 17, 2009, 03:26:47 am
ps_shipping bug.

Change line 113 to:
Code: [Select]
$fields = array( 'shipping_carrier_name' => vmGet($d,"shipping_carrier_name"),

I'm pretty sure there is another line to change as well..there have been a few posts about this issue before.