You have some mixed up code ...
This should be working with the constants for the table2.php code not the bagship.php code:
Code:
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_BAGSHIP_STATUS == 'True') ? true : false);
}
I have to work out the code for this ... but I am now sleeping ...
Based on the fact that you are using weight for the bagship products and item count for the reg products ... this could actually be done with the table2.php module by itself ...
The difference it to make calculations a little different where you leave table2.php setup as it is for the count or items, but reduce the count by the number of products that are bagship and then apply the table rate calculation ...
Then, add in the weight to account for the bagship products ...
But I have to actually think this through for more than 5 minutes and I went to sleep 15 minutes ago ...
So give this a slow think ... and see if you can work out the calculations ... and if not, I will look at it in the morning to work out the calcuations based on how much weight belongs to the bagship products which is all the weight as the reg products have no weight plus the calculation of the number of items - the number of items that are bagship ...