Hi,
The code has been moved in the file "components/com_hikashop/views/cart/view.html.php" function "showcarts()" and is now:
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;
}
It redirect to the login page instead of just display the Please login message.
So you can potentially add this code at the top of the view "cart / showcarts" between php tags.