because the base unit was configured as 0 in our scenario
line 187:
$units = ceil($product_count / $product_class_rules[$type]->base_unit);

Comments

ronald_istos’s picture

Thanks for that - will updated module in the next couple of days and good opportunity to write some tests for it.

ronald_istos’s picture

Status: Active » Fixed

Fixed this and release a stable version of module

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.