Hey Dan,
Your picture is a riot. I copied the custom logic I used below. Basically, I looped through the cart and added a price * the qty of the fixed shipping cost Items. The silly thing with my syntax, I was not able to get the OR to work, it is a || right?
The only disadvantage with this is the product weight shows as Zero, but the description of the product says that it is a 187kg weight set.
Thanks much,
Frank
Code:
# This custome logic loops through the current cart and
# compares the product ID number to see if it is a set.
# The total quanity of sets are multiplied by 320 to give
# shipping cost. Since there is approx. a $10 charge for any
# package by UPS, the final price is equal to
# (320 * qty) + (10 * qty) = shipping
#
$count=0;
open (CART, "$sc_cart_path") ;
while (<CART>)
{
$quantity=0;
chop;
@my_cart_fields = split (/\|/, $_);
$my_cart_row_number = pop(@my_cart_fields);
push (@my_cart_fields, $my_cart_row_number);
$quantity = $my_cart_fields[0];
$product_id = $my_cart_fields[1];
if ($product_id eq "00000"){
$count=$count + $quantity;
$shipping_price= 320 * $count;
}
if ($product_id eq "00001"){
$count=$count + $quantity;
$shipping_price= 320 * $count;
}
if ($product_id eq "00004"){
$count=$count + $quantity;
$shipping_price= 320 * $count;
}
if ($product_id eq "00014"){
$count=$count + $quantity;
$shipping_price= 320 * $count;
}
}