Found it in pad_multiple_dropdowns.php:
Code:
$attribute_stock_query = $db->Execute("SELECT quantity FROM products_with_attributes_stock AS a LEFT JOIN products_attributes AS b ON (b.options_id=". (int)$attributes[$o]['oid'] ." AND b.options_values_id=".(int)$attributes[$o]['ovals'][$a]['id'].") WHERE a.products_id = '" . (int)$this->products_id . "' AND a.stock_attributes = b.products_attributes_id AND a.quantity > 0 order by b.products_options_sort_order");
Can't wait to see what other surprises are in store with this mod.
thanks,
json