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);