View Single Post
  #34  
Old 01-26-2007, 03:54 PM
 
wsanders wsanders is offline
 

Newbie
  
Join Date: Jun 2006
Posts: 2
 

Default Re: UPS Over 150 pounds

Quote:
Originally Posted by Kishy
I am trying to use this mod to solve the same UPS shipping error and I can't find the file called process_cart.php. I have version 4.1.2.

In 4.1 the file is called cart_process.php and it is in the folder /include/

The code looks different too ...
bout halfway through the file you need to replace
$cart["products"][] = array(
"cartid" => $cartid,
"productid" => $productid,
"amount" => $amount,
"options" => $product_options,
"free_price" => @price_format(@$free_price),
"distribution" => $added_product["distribution"],
"variantid" => $variantid);

with

$cart["products"][] = array(
"cartid" => $cartid,
"productid" => $productid,
"amount" => $amount,
"options" => $product_options,
"weight"=>$added_product["weight"],
"free_price" => @price_format(@$free_price),
"distribution" => $added_product["distribution"],
"variantid" => $variantid);
__________________
X-Cart 4.1
Reply With Quote