Cannot use weight as weight is what is used for Zone Rates ...
You can, however, use 0 weight so it does not add anything but the calculated rate for the two categories ...
In the file:
/includes/modules/shipping/zones.php
add the code in RED:
Code:
// bof: calculate rates for categories_id 12 and 15
$chk_cat12 = 0;
$chk_cat15 = 0;
$chk_cat12 = $_SESSION['cart']->in_cart_check('master_categories_id','12');
$chk_cat15 = $_SESSION['cart']->in_cart_check('master_categories_id','15');
$chk_cat12 = $chk_cat12 * 2.75;
$chk_cat15 = $chk_cat15 * 1.75;
$extra_charge = $chk_cat12 + $chk_cat15;
$this->quotes = array('id' => $this->code,
'module' => MODULE_SHIPPING_ZONES_TEXT_TITLE,
'methods' => array(array('id' => $this->code,
'title' => $shipping_method,
'cost' => $shipping_cost + $extra_charge)));
// eof: calculate rates for categories_id 12 and 15
Note: check your settings on Configuration ... Shipping/Packaging ... for what you have on:
Order Free Shipping 0 Weight Status
If there is no weight to the order, does the order have Free Shipping?
0= no
1= yes
Note: When using Free Shipping, Enable the Free Shipping Module this will only show when shipping is free.
that should be set to 0 so these 0 weight products do not affect your Zone Rates ...
Bookmarks