If you want to use the Per Unit perweightunit shipping module, you can actually enter the shipping charger per quantity ...
So if a Product shipping cost per quantity is 1.72, just enter 1.72 ...
Now when that product is ordered:
quantity 1 x 1.72 = 1.72
quantity 2 x 1.72 = 3.44
quantity 3 x 1.72 = 5.16
etc. etc.
Now, you want to charge the 90 if there are any seeds in the order ...
Customize the function quote in the file:
/includes/modules/shipping/perweightunit.php
with the code in RED:
Code:
function quote($method = '') {
global $order, $shipping_weight, $shipping_num_boxes;
// bof: charge .90 for master_categories_id 70, 76 and 78
$extra_shipping = 0.00;
$chk_cat = 0;
$chk_cat += $_SESSION['cart']->in_cart_check('master_categories_id','70');
$chk_cat += $_SESSION['cart']->in_cart_check('master_categories_id','76');
$chk_cat += $_SESSION['cart']->in_cart_check('master_categories_id','78');
if ($chk_cat >= 1) {
$extra_shipping = .90;
}
$total_weight_units = $shipping_weight;
$this->quotes = array('id' => $this->code,
'module' => MODULE_SHIPPING_PERWEIGHTUNIT_TEXT_TITLE,
'methods' => array(array('id' => $this->code,
'title' => MODULE_SHIPPING_PERWEIGHTUNIT_TEXT_WAY,
'cost' => MODULE_SHIPPING_PERWEIGHTUNIT_COST * ($total_weight_units * $shipping_num_boxes) +
(MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING) + $extra_shipping ) ));
// eof: charge .90 for master_categories_id 70, 76 and 78
if ($this->tax_class > 0) {
Now, just set the seed Products to have the weight of 0 ... in the Configuration ... Shipping/Packaging ... make sure that you have:
Maximum Weight 5000
Tara Rates at 0:0
Order Free Shipping 0 Weight Status set to 0