Hi,
Yes indeed that's not correct, after verification the code you found is in the wrong function and for the wrong thing.
Thanks to add:
if(hikashop_loadUser() == null){
global $Itemid;
$url = '';
if(!empty($Itemid)){
$url='&Itemid='.$Itemid;
}
if(!HIKASHOP_J16){
$url = 'index.php?option=com_user&view=login'.$url;
}else{
$url = 'index.php?option=com_users&view=login'.$url;
}
if($config->get('enable_multicart','0'))
$app->redirect(JRoute::_($url.'&return='.urlencode(base64_encode(hikashop_currentUrl('',false))),false));
else
$app->redirect(JRoute::_($url.'&return='.base64_encode(hikashop_completeLink('cart&task=showcart&cart_type='.$cart_type.'&Itemid='.$Itemid,false,false,true)),false));
return false;
}
After:
$searchMap = array('a.cart_id','a.cart_name','a.cart_type');
The code will be in the next release.