Hi,
You can add the code:
global $Itemid;
$url = '';
if(!empty($Itemid)){
$url='&Itemid='.$Itemid;
}
$app->redirect(JRoute::_('index.php?option=com_user&view=login'.$url.'&return='.urlencode(base64_encode(hikashop::currentUrl())),false));
after the code
$app=&JFactory::getApplication();
$app->enqueueMessage(JText::_('PLEASE_LOGIN_FIRST'));
in the file components/com_hikashop/controllers/order.php so that the login form is displayed when the user isn't logged in. I think that we'll add that on our end as well as it makes more sense.