Here's an old note that might at least point you in the right direction:
In include/login.php around line 261, replace:
PHP Code:
...
if (!func_is_cart_empty($cart)) {
with:
PHP Code:
...
if ($login_type == 'C') {
func_header_location($redirect_to.'/pages.php?pageid=29');
} elseif (!func_is_cart_empty($cart)) {