and to add the price into the cart:
* -- uc_cart.module -- *
around lin1889
global $user;
if (in_array("privatkunde", $user->roles)){
$item->price = $product->cost;
}else{
$item->price = $product->sell_price;
}
but this is still pure evil - this should be put out into a module, so we dont end up with a osCommerce way of doing things, hmm "somebody" should do something
and to make this really good it would be sweet if it was based on an cck field etc
