Found the "credit_selection()"-function (includes/modules/order_total/ot_gv,php), where the following code seems to do the trick:
Code:
function credit_selection() {
global $db, $currencies;
//DTC->
global $order;
$level_purchase = false;
for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) {
$the_id = $order->products[$i]['id'];
if ($the_id <= 5) $level_purchase = true;
}
if ($level_purchase) return $selection;
//->DTC
.......
The credit_selection()-function already returns an unspecified $selection - so I just did the same....
BTW: What is the use of the "zen_products_lookup()"-function used in other places? The "$order->products[$i]['id']" does the trick, doesn't it?