navigation  interaction  search

 other resources

Changeset 362

Show
Ignore:
Timestamp:
11/09/07 15:10:26
Author:
brieb
Message:

Fixed Shipping Estimate Bug

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/phpbms/modules/bms/include/invoices.php

    r356 r362  
    568568                         
    569569                                $itemRecord = explode("::", $item); 
    570                                  
    571                                 if(count($itemRecord > 1)){ 
     570                                if(count($itemRecord) > 1){ 
    572571                                 
    573572                                        $insertstatement =" 
  • trunk/phpbms/modules/bms/shipping_estimate_ups.php

    r360 r362  
    117117                $avg_weight=$total_weight/$total_pckges; 
    118118                //check for errors on price 
    119                 $UPSreturn=UPSprice($shippingmethod,SHIPPING_POSTALCODE,$_GET["shiptozip"],$avg_weight); 
     119                $UPSreturn=UPSprice($shippingmethod,SHIPPING_POSTALCODE,$_GET["postalcodeto"],$avg_weight); 
    120120                if (!$UPSreturn["success"]) $shipping=0; else $shipping=$UPSreturn["charge"]; 
    121121                        $total_shipping+=($shipping*$total_pckges); 
Copyright © 2006-2007 Kreotek, LLC. All Rights reserved.