Set all gowns to 0 on products_weight ...
Add to the quote in Per Unit perweightunit shipping module:
Code:
// check products with products_weight 0
global $cart;
$chk_gowns = $_SESSION['cart']->in_cart_check('products_weight','0');
$chk_gown1 = 48.75;
$chk_gown2 = 25.00;
if ($chk_gowns > 1) {
$chk_gowns_shipping = $chk_gown1 + (($chk_gowns - 1) * $chk_gown2);
} else {
if ($chk_gowns == 1) {
$chk_gowns_shipping = $chk_gown1;
} else {
$chk_gowns_shipping = 0;
}
}
The add to the cost the:
$chk_gowns_shipping to cost
Bookmarks